{
  "abi": [
    {
      "inputs": [],
      "name": "FEE_TOO_HIGH",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "INADEQUATE_DISTRIBUTION_AMOUNT",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "INADEQUATE_RECLAIM_AMOUNT",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "INADEQUATE_TOKEN_COUNT",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "NO_MSG_VALUE_ALLOWED",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "PAY_TO_ZERO_ADDRESS",
      "type": "error"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "prod1",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "denominator",
          "type": "uint256"
        }
      ],
      "name": "PRBMath__MulDivOverflow",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "PROJECT_TERMINAL_MISMATCH",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "REDEEM_TO_ZERO_ADDRESS",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "TERMINAL_IN_SPLIT_ZERO_ADDRESS",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "TERMINAL_TOKENS_INCOMPATIBLE",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "UNAUTHORIZED",
      "type": "error"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "refundedFees",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "memo",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "metadata",
          "type": "bytes"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "AddToBalance",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "contract IJBPayDelegate",
          "name": "delegate",
          "type": "address"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "payer",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "currentFundingCycleConfiguration",
              "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": "amount",
              "type": "tuple"
            },
            {
              "internalType": "uint256",
              "name": "projectTokenCount",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "bool",
              "name": "preferClaimedTokens",
              "type": "bool"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "metadata",
              "type": "bytes"
            }
          ],
          "indexed": false,
          "internalType": "struct JBDidPayData",
          "name": "data",
          "type": "tuple"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "DelegateDidPay",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "contract IJBRedemptionDelegate",
          "name": "delegate",
          "type": "address"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "currentFundingCycleConfiguration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "projectTokenCount",
              "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": "reclaimedAmount",
              "type": "tuple"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "metadata",
              "type": "bytes"
            }
          ],
          "indexed": false,
          "internalType": "struct JBDidRedeemData",
          "name": "data",
          "type": "tuple"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "DelegateDidRedeem",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fundingCycleConfiguration",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fundingCycleNumber",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "distributedAmount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "fee",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "beneficiaryDistributionAmount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "memo",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "DistributePayouts",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "domain",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "group",
          "type": "uint256"
        },
        {
          "components": [
            {
              "internalType": "bool",
              "name": "preferClaimed",
              "type": "bool"
            },
            {
              "internalType": "bool",
              "name": "preferAddToBalance",
              "type": "bool"
            },
            {
              "internalType": "uint256",
              "name": "percent",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "lockedUntil",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBSplitAllocator",
              "name": "allocator",
              "type": "address"
            }
          ],
          "indexed": false,
          "internalType": "struct JBSplit",
          "name": "split",
          "type": "tuple"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "DistributeToPayoutSplit",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fee",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "feeDiscount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "HoldFee",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "contract IJBPaymentTerminal",
          "name": "to",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Migrate",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fundingCycleConfiguration",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fundingCycleNumber",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "payer",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "beneficiaryTokenCount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "memo",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "metadata",
          "type": "bytes"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Pay",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "bool",
          "name": "wasHeld",
          "type": "bool"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "ProcessFee",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fundingCycleConfiguration",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fundingCycleNumber",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "holder",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "tokenCount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "reclaimedAmount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "memo",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "metadata",
          "type": "bytes"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "RedeemTokens",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "refundedFees",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "leftoverAmount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "RefundHeldFees",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "fee",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetFee",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "contract IJBFeeGauge",
          "name": "feeGauge",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetFeeGauge",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "addrs",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bool",
          "name": "flag",
          "type": "bool"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetFeelessAddress",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fundingCycleConfiguration",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "fundingCycleNumber",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "distributedAmount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "netDistributedamount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "memo",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "UseAllowance",
      "type": "event"
    },
    {
      "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": "baseWeightCurrency",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "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": [],
      "name": "directory",
      "outputs": [
        {
          "internalType": "contract IJBDirectory",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_currency",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_minReturnedTokens",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "_memo",
          "type": "string"
        }
      ],
      "name": "distributePayoutsOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "netLeftoverDistributionAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "fee",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "feeGauge",
      "outputs": [
        {
          "internalType": "contract IJBFeeGauge",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "heldFeesOf",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256"
            },
            {
              "internalType": "uint32",
              "name": "fee",
              "type": "uint32"
            },
            {
              "internalType": "uint32",
              "name": "feeDiscount",
              "type": "uint32"
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address"
            }
          ],
          "internalType": "struct JBFee[]",
          "name": "",
          "type": "tuple[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "isFeelessAddress",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "contract IJBPaymentTerminal",
          "name": "_to",
          "type": "address"
        }
      ],
      "name": "migrate",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "balance",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "operatorStore",
      "outputs": [
        {
          "internalType": "contract IJBOperatorStore",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "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": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "payoutSplitsGroup",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "prices",
      "outputs": [
        {
          "internalType": "contract IJBPrices",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "processFees",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "projects",
      "outputs": [
        {
          "internalType": "contract IJBProjects",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_tokenCount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_minReturnedTokens",
          "type": "uint256"
        },
        {
          "internalType": "address payable",
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "_memo",
          "type": "string"
        },
        {
          "internalType": "bytes",
          "name": "_metadata",
          "type": "bytes"
        }
      ],
      "name": "redeemTokensOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "reclaimAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_fee",
          "type": "uint256"
        }
      ],
      "name": "setFee",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IJBFeeGauge",
          "name": "_feeGauge",
          "type": "address"
        }
      ],
      "name": "setFeeGauge",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_address",
          "type": "address"
        },
        {
          "internalType": "bool",
          "name": "_flag",
          "type": "bool"
        }
      ],
      "name": "setFeelessAddress",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "splitsStore",
      "outputs": [
        {
          "internalType": "contract IJBSplitsStore",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "store",
      "outputs": [
        {
          "internalType": "contract IJBSingleTokenPaymentTerminalStore",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "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"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_currency",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_minReturnedTokens",
          "type": "uint256"
        },
        {
          "internalType": "address payable",
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "_memo",
          "type": "string"
        }
      ],
      "name": "useAllowanceOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "netDistributedAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "methodIdentifiers": {
    "acceptsToken(address,uint256)": "df21a7dd",
    "addToBalanceOf(uint256,uint256,address,string,bytes)": "0cf8e858",
    "baseWeightCurrency()": "2d1a5903",
    "currency()": "e5a6b10f",
    "currencyForToken(address)": "1982d679",
    "currentEthOverflowOf(uint256)": "a32e1e96",
    "decimals()": "313ce567",
    "decimalsForToken(address)": "b7bad1b1",
    "directory()": "c41c2f24",
    "distributePayoutsOf(uint256,uint256,uint256,address,uint256,string)": "2b267b4e",
    "fee()": "ddca3f43",
    "feeGauge()": "d6dacc53",
    "heldFeesOf(uint256)": "8af56094",
    "isFeelessAddress(address)": "b631b500",
    "migrate(uint256,address)": "405b84fa",
    "operatorStore()": "ad007d63",
    "owner()": "8da5cb5b",
    "pay(uint256,uint256,address,address,uint256,bool,string,bytes)": "1ebc263f",
    "payoutSplitsGroup()": "66248b86",
    "prices()": "d3419bf3",
    "processFees(uint256)": "89701db5",
    "projects()": "8b79543c",
    "redeemTokensOf(address,uint256,uint256,address,uint256,address,string,bytes)": "fe663f0f",
    "renounceOwnership()": "715018a6",
    "setFee(uint256)": "69fe0e2d",
    "setFeeGauge(address)": "637913ac",
    "setFeelessAddress(address,bool)": "7258002c",
    "splitsStore()": "2bdfe004",
    "store()": "975057e7",
    "supportsInterface(bytes4)": "01ffc9a7",
    "token()": "fc0c546a",
    "transferOwnership(address)": "f2fde38b",
    "useAllowanceOf(uint256,uint256,uint256,address,uint256,address,string)": "bc8926e9"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FEE_TOO_HIGH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"INADEQUATE_DISTRIBUTION_AMOUNT\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"INADEQUATE_RECLAIM_AMOUNT\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"INADEQUATE_TOKEN_COUNT\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NO_MSG_VALUE_ALLOWED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PAY_TO_ZERO_ADDRESS\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"prod1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"PRBMath__MulDivOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PROJECT_TERMINAL_MISMATCH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"REDEEM_TO_ZERO_ADDRESS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TERMINAL_IN_SPLIT_ZERO_ADDRESS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TERMINAL_TOKENS_INCOMPATIBLE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UNAUTHORIZED\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"refundedFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"AddToBalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IJBPayDelegate\",\"name\":\"delegate\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentFundingCycleConfiguration\",\"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\":\"amount\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"projectTokenCount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"preferClaimedTokens\",\"type\":\"bool\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct JBDidPayData\",\"name\":\"data\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"DelegateDidPay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IJBRedemptionDelegate\",\"name\":\"delegate\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentFundingCycleConfiguration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"projectTokenCount\",\"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\":\"reclaimedAmount\",\"type\":\"tuple\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"struct JBDidRedeemData\",\"name\":\"data\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"DelegateDidRedeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleConfiguration\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"distributedAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"beneficiaryDistributionAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"DistributePayouts\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"group\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferClaimed\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"preferAddToBalance\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"percent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"lockedUntil\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBSplitAllocator\",\"name\":\"allocator\",\"type\":\"address\"}],\"indexed\":false,\"internalType\":\"struct JBSplit\",\"name\":\"split\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"DistributeToPayoutSplit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeDiscount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"HoldFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Migrate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleConfiguration\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"beneficiaryTokenCount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Pay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"wasHeld\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"ProcessFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleConfiguration\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenCount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reclaimedAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"RedeemTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"refundedFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"leftoverAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"RefundHeldFees\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IJBFeeGauge\",\"name\":\"feeGauge\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetFeeGauge\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addrs\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"flag\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetFeelessAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleConfiguration\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fundingCycleNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"distributedAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"netDistributedamount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"UseAllowance\",\"type\":\"event\"},{\"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\":\"baseWeightCurrency\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":[],\"name\":\"directory\",\"outputs\":[{\"internalType\":\"contract IJBDirectory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_currency\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minReturnedTokens\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"distributePayoutsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"netLeftoverDistributionAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGauge\",\"outputs\":[{\"internalType\":\"contract IJBFeeGauge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"heldFeesOf\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"fee\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"feeDiscount\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct JBFee[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isFeelessAddress\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"migrate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"payoutSplitsGroup\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"prices\",\"outputs\":[{\"internalType\":\"contract IJBPrices\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"processFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IJBProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenCount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minReturnedTokens\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_metadata\",\"type\":\"bytes\"}],\"name\":\"redeemTokensOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"reclaimAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBFeeGauge\",\"name\":\"_feeGauge\",\"type\":\"address\"}],\"name\":\"setFeeGauge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_flag\",\"type\":\"bool\"}],\"name\":\"setFeelessAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"splitsStore\",\"outputs\":[{\"internalType\":\"contract IJBSplitsStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"store\",\"outputs\":[{\"internalType\":\"contract IJBSingleTokenPaymentTerminalStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_currency\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minReturnedTokens\",\"type\":\"uint256\"},{\"internalType\":\"address payable\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"useAllowanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"netDistributedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"A project can transfer its funds, along with the power to reconfigure and mint/burn their tokens, from this contract to another allowed terminal of the same token type contract at any time.Adheres to - IJBPayoutRedemptionPaymentTerminal: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.Inherits from - JBSingleTokenPaymentTerminal: Generic terminal managing all inflows of funds into the protocol ecosystem for one token. JBOperatable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions. Ownable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions. ReentrancyGuard: Contract module that helps prevent reentrant calls to a function.\",\"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.\"}},\"addToBalanceOf(uint256,uint256,address,string,bytes)\":{\"params\":{\"_amount\":\"The amount of tokens to add, as a fixed point number with the same number of decimals as this terminal. If this is an ETH terminal, this is ignored and msg.value is used instead.\",\"_memo\":\"A memo to pass along to the emitted event.\",\"_metadata\":\"Extra data to pass along to the emitted event.\",\"_projectId\":\"The ID of the project to which the funds received belong.\",\"_token\":\"The token being paid. This terminal ignores this property since it only manages one currency. \"}},\"constructor\":{\"params\":{\"_baseWeightCurrency\":\"The currency to base token issuance on.\",\"_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.\",\"_directory\":\"A contract storing directories of terminals and controllers for each project.\",\"_operatorStore\":\"A contract storing operator assignments.\",\"_owner\":\"The address that will own this contract.\",\"_payoutSplitsGroup\":\"The group that denotes payout splits from this terminal in the splits store.\",\"_prices\":\"A contract that exposes price feeds.\",\"_projects\":\"A contract which mints ERC-721's that represent project ownership and transfers.\",\"_splitsStore\":\"A contract that stores splits for each project.\",\"_store\":\"A contract that stores the terminal's data.\",\"_token\":\"The token that this terminal manages.\"}},\"currencyForToken(address)\":{\"params\":{\"_token\":\"The token to check for the currency of.\"},\"returns\":{\"_0\":\"The currency index.\"}},\"currentEthOverflowOf(uint256)\":{\"details\":\"The current overflow is represented as a fixed point number with 18 decimals.\",\"params\":{\"_projectId\":\"The ID of the project to get overflow for.\"},\"returns\":{\"_0\":\"The current amount of ETH overflow that project has in this terminal, as a fixed point number with 18 decimals.\"}},\"decimalsForToken(address)\":{\"params\":{\"_token\":\"The token to check for the decimals of.\"},\"returns\":{\"_0\":\"The number of decimals for the token.\"}},\"distributePayoutsOf(uint256,uint256,uint256,address,uint256,string)\":{\"details\":\"Payouts are sent to the preprogrammed splits. Any leftover is sent to the project's owner.Anyone can distribute payouts on a project's behalf. The project can preconfigure a wildcard split that is used to send funds to msg.sender. This can be used to incentivize calling this function.All funds distributed outside of this contract or any feeless terminals incure the protocol fee.\",\"params\":{\"_amount\":\"The amount of terminal tokens to distribute, as a fixed point number with same number of decimals as this terminal.\",\"_currency\":\"The expected currency of the amount being distributed. Must match the project's current funding cycle's distribution limit currency.\",\"_memo\":\"A memo to pass along to the emitted event.\",\"_minReturnedTokens\":\"The minimum number of terminal tokens that the `_amount` should be valued at in terms of this terminal's currency, as a fixed point number with the same number of decimals as this terminal.\",\"_projectId\":\"The ID of the project having its payouts distributed.\",\"_token\":\"The token being distributed. This terminal ignores this property since it only manages one token. \"},\"returns\":{\"netLeftoverDistributionAmount\":\"The amount that was sent to the project owner, as a fixed point number with the same amount of decimals as this terminal.\"}},\"heldFeesOf(uint256)\":{\"params\":{\"_projectId\":\"The ID of the project for which fees are being held.\"},\"returns\":{\"_0\":\"An array of fees that are being held.\"}},\"migrate(uint256,address)\":{\"details\":\"Only a project's owner or a designated operator can migrate it.\",\"params\":{\"_projectId\":\"The ID of the project being migrated.\",\"_to\":\"The terminal contract that will gain the project's funds.\"},\"returns\":{\"balance\":\"The amount of funds that were migrated, as a fixed point number with the same amount of decimals as this terminal.\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pay(uint256,uint256,address,address,uint256,bool,string,bytes)\":{\"params\":{\"_amount\":\"The amount of terminal tokens being received, as a fixed point number with the same amount of decimals as this terminal. If this terminal's token is ETH, this is ignored and msg.value is used in its place.\",\"_beneficiary\":\"The address to mint tokens for and pass along to the funding cycle's data source and delegate.\",\"_memo\":\"A memo to pass along to the emitted event, and passed along the the funding cycle's data source and delegate.  A data source can alter the memo before emitting in the event and forwarding to the delegate.\",\"_metadata\":\"Bytes to send along to the data source, delegate, and emitted event, if provided.\",\"_minReturnedTokens\":\"The minimum number of project tokens expected in return, as a fixed point number with the same amount of decimals as this terminal.\",\"_preferClaimedTokens\":\"A flag indicating whether the request prefers to mint project tokens into the beneficiaries wallet rather than leaving them unclaimed. This is only possible if the project has an attached token contract. Leaving them unclaimed saves gas.\",\"_projectId\":\"The ID of the project being paid.\",\"_token\":\"The token being paid. This terminal ignores this property since it only manages one token. \"},\"returns\":{\"_0\":\"The number of tokens minted for the beneficiary, as a fixed point number with 18 decimals.\"}},\"processFees(uint256)\":{\"details\":\"Only a project owner, an operator, or the contract's owner can process held fees.\",\"params\":{\"_projectId\":\"The ID of the project whos held fees should be processed.\"}},\"redeemTokensOf(address,uint256,uint256,address,uint256,address,string,bytes)\":{\"details\":\"Only a token holder or a designated operator can redeem its tokens.\",\"params\":{\"_beneficiary\":\"The address to send the terminal tokens to.\",\"_holder\":\"The account to redeem tokens for.\",\"_memo\":\"A memo to pass along to the emitted event.\",\"_metadata\":\"Bytes to send along to the data source, delegate, and emitted event, if provided.\",\"_minReturnedTokens\":\"The minimum amount of terminal tokens expected in return, as a fixed point number with the same amount of decimals as the terminal.\",\"_projectId\":\"The ID of the project to which the tokens being redeemed belong.\",\"_token\":\"The token being reclaimed. This terminal ignores this property since it only manages one token. \",\"_tokenCount\":\"The number of project tokens to redeem, as a fixed point number with 18 decimals.\"},\"returns\":{\"reclaimAmount\":\"The amount of terminal tokens that the project tokens were redeemed for, as a fixed point number with 18 decimals.\"}},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"setFee(uint256)\":{\"details\":\"Only the owner of this contract can change the fee.\",\"params\":{\"_fee\":\"The new fee, out of MAX_FEE.\"}},\"setFeeGauge(address)\":{\"details\":\"Only the owner of this contract can change the fee gauge.If the fee gauge reverts when called upon while a project is attempting to distribute its funds, a project's funds will be locked. This is a known risk.\",\"params\":{\"_feeGauge\":\"The new fee gauge.\"}},\"setFeelessAddress(address,bool)\":{\"details\":\"Only the owner of this contract can set addresses as feeless.\",\"params\":{\"_address\":\"The address that can be paid towards while still bypassing fees.\",\"_flag\":\"A flag indicating whether the terminal should be feeless or not.\"}},\"supportsInterface(bytes4)\":{\"details\":\" See {IERC165-supportsInterface}.\",\"params\":{\"_interfaceId\":\"The ID of the interface to check for adherance to.\"}},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"useAllowanceOf(uint256,uint256,uint256,address,uint256,address,string)\":{\"details\":\"Only a project's owner or a designated operator can use its allowance.Incurs the protocol fee.\",\"params\":{\"_amount\":\"The amount of terminal tokens to use from this project's current allowance, as a fixed point number with the same amount of decimals as this terminal.\",\"_beneficiary\":\"The address to send the funds to.\",\"_currency\":\"The expected currency of the amount being distributed. Must match the project's current funding cycle's overflow allowance currency.\",\"_memo\":\"A memo to pass along to the emitted event.\",\"_minReturnedTokens\":\"The minimum number of tokens that the `_amount` should be valued at in terms of this terminal's currency, as a fixed point number with 18 decimals.\",\"_projectId\":\"The ID of the project to use the allowance of.\",\"_token\":\"The token being distributed. This terminal ignores this property since it only manages one token. \"},\"returns\":{\"netDistributedAmount\":\"The amount of tokens that was distributed to the beneficiary, as a fixed point number with the same amount of decimals as the terminal.\"}}},\"stateVariables\":{\"_FEE_CAP\":{\"details\":\"Out of MAX_FEE (50_000_000 / 1_000_000_000).\"},\"baseWeightCurrency\":{\"details\":\"If this differs from `currency`, there must be a price feed available to convert `currency` to `baseWeightCurrency`.\"},\"fee\":{\"details\":\"Out of MAX_FEE (25_000_000 / 1_000_000_000)\"}},\"version\":1},\"userdoc\":{\"errors\":{\"PRBMath__MulDivOverflow(uint256,uint256)\":[{\"notice\":\"Emitted when the result overflows uint256.\"}]},\"kind\":\"user\",\"methods\":{\"acceptsToken(address,uint256)\":{\"notice\":\"A flag indicating if this terminal accepts the specified token.\"},\"addToBalanceOf(uint256,uint256,address,string,bytes)\":{\"notice\":\"Receives funds belonging to the specified project.\"},\"baseWeightCurrency()\":{\"notice\":\"The currency to base token issuance on.\"},\"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.\"},\"currentEthOverflowOf(uint256)\":{\"notice\":\"Gets the current overflowed amount in this terminal for a specified project, in terms of ETH.\"},\"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.\"},\"directory()\":{\"notice\":\"The directory of terminals and controllers for projects.\"},\"distributePayoutsOf(uint256,uint256,uint256,address,uint256,string)\":{\"notice\":\"Distributes payouts for a project with the distribution limit of its current funding cycle.\"},\"fee()\":{\"notice\":\"The platform fee percent.\"},\"feeGauge()\":{\"notice\":\"The data source that returns a discount to apply to a project's fee.\"},\"heldFeesOf(uint256)\":{\"notice\":\"The fees that are currently being held to be processed later for each project.\"},\"isFeelessAddress(address)\":{\"notice\":\"Addresses that can be paid towards from this terminal without incurring a fee. _address The address that can be paid toward.\"},\"migrate(uint256,address)\":{\"notice\":\"Allows a project owner to migrate its funds and operations to a new terminal that accepts the same token type.\"},\"operatorStore()\":{\"notice\":\" A contract storing operator assignments.\"},\"pay(uint256,uint256,address,address,uint256,bool,string,bytes)\":{\"notice\":\"Contribute tokens to a project.\"},\"payoutSplitsGroup()\":{\"notice\":\"The group that payout splits coming from this terminal are identified by.\"},\"prices()\":{\"notice\":\"The contract that exposes price feeds.\"},\"processFees(uint256)\":{\"notice\":\"Process any fees that are being held for the project.\"},\"projects()\":{\"notice\":\"Mints ERC-721's that represent project ownership and transfers.\"},\"redeemTokensOf(address,uint256,uint256,address,uint256,address,string,bytes)\":{\"notice\":\"Holders can redeem their tokens to claim the project's overflowed tokens, or to trigger rules determined by the project's current funding cycle's data source.\"},\"setFee(uint256)\":{\"notice\":\"Allows the fee to be updated.\"},\"setFeeGauge(address)\":{\"notice\":\"Allows the fee gauge to be updated.\"},\"setFeelessAddress(address,bool)\":{\"notice\":\"Sets whether projects operating on this terminal can pay towards the specified address without incurring a fee.\"},\"splitsStore()\":{\"notice\":\"The contract that stores splits for each project.\"},\"store()\":{\"notice\":\"The contract that stores and manages the terminal's data.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Indicates if this contract adheres to the specified interface.\"},\"token()\":{\"notice\":\"The token that this terminal accepts.\"},\"useAllowanceOf(uint256,uint256,uint256,address,uint256,address,string)\":{\"notice\":\"Allows a project to send funds from its overflow up to the preconfigured allowance.\"}},\"notice\":\"Generic terminal managing all inflows and outflows of funds into the protocol ecosystem.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/contracts/abstract/JBPayoutRedemptionPaymentTerminal.sol\":\"JBPayoutRedemptionPaymentTerminal\"},\"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/JBOperatable.sol\":{\"keccak256\":\"0x9a5781d40c6b8013249653253369cda2047aa35329a1fcd4dc6353cd2dde30a6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1adb7facf833740d5cfe469d7e2172d73ee1424b518583fc6210955820c9f156\",\"dweb:/ipfs/QmbLoiFcmLnqjQJ5JPyWRrrrg3Q79Vp2mLQcEngWTrAbXn\"]},\"lib/juice-contracts-v2/contracts/abstract/JBPayoutRedemptionPaymentTerminal.sol\":{\"keccak256\":\"0x491bbbb594779bcdf098162988afa54ad768e318249ad16359d6bb062b63a871\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe7ff945ef2aa5bf8fb912a4826c99720faf6d4a328c5cc642a4f7a0d6420691\",\"dweb:/ipfs/QmbD9LFacg7n9QyuHAKhhDSHvJsQnno5UqtV3XS64jiLgM\"]},\"lib/juice-contracts-v2/contracts/abstract/JBSingleTokenPaymentTerminal.sol\":{\"keccak256\":\"0x53c834371e6b5861af606ee3c99fce3fd222ca6689345a8d9a93cdb1932d6c88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e09f23a7d0da29c866098214ee504966e98419fa07ee101a33458cec1aa593af\",\"dweb:/ipfs/QmdyRivRcmsmTfrxQHSgfm8Ktrs1XTY1FiV8NjmXufLEvi\"]},\"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/IJBAllowanceTerminal.sol\":{\"keccak256\":\"0x139d7628da9fc8510f53482d592cd4074d21c0cb6d72510ff2743076f3b17533\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9a24aae1fe774b6568e108ccc7b8805a4b0f2c02e3f5fb0d9fb8ff15d1670647\",\"dweb:/ipfs/QmcmZ3y3aUXWKdGXJ7kZvbYcs2x3RakUh2kLqFtnzU129S\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBController.sol\":{\"keccak256\":\"0x88cfbd76f3adfa48aaea39ed77145b2d63f5fa253ba2d304600b86dd19ccde7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e485b2a99f5bfdd7bf3ff62bca5feb8a9b6f414ed15bc8e7a0602a0b79245dea\",\"dweb:/ipfs/Qme98UcG5a23VEhnAoGDA3H5g1SfmGTt6Uhxn4UAKBkDkz\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBDirectory.sol\":{\"keccak256\":\"0x715321646db00514d1355ed43c40cd3f01e94959552fd07797b315d9c49cdb1d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c34c9e1c727ffc63dd42fb6e6ffb3116c8ba15d6a322a300f10f29478974768d\",\"dweb:/ipfs/QmYToaGrbMyyWAuyepYcDd8M6KcmosY8AWhT3uJmPM6Pvy\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBFeeGauge.sol\":{\"keccak256\":\"0x8e19959617191320fe1210760860e668a57319258c0c74fcfabac829ae0222c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3dd8a4e26f3abc19f1b0580b02d894bd91d31f8d72d8ee1be529ecd6dc638723\",\"dweb:/ipfs/QmUxSM2ePxorxRNFxpxqDnRmGtQrwVMiezQsbxLCCkLL5x\"]},\"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/IJBMigratable.sol\":{\"keccak256\":\"0xc81053e4b4754fc510aa04fecd3ab1460f01e3e27761e7a8c94f631a978ae127\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4c57ab7d0c0e6d9be798055d68b6f253421458b3beb38d0a3596da104000ca9e\",\"dweb:/ipfs/QmXn1CaffHoP2s43vkUszihdNk1TdfAxejngfdk2VmBVFU\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"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/IJBPayoutRedemptionPaymentTerminal.sol\":{\"keccak256\":\"0xae2edad1a8f20c9c9ad3b94939f382d44001e372f0e98b4ddd7478a0e31d54fe\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b9d39a322af1df44d80fec448b9e5a9d532a3cef9f7e677d90801b5edea543a\",\"dweb:/ipfs/Qma7Rv8g9PA8ppvbDHwLc15WUZG9vLndKAfkHJd1ifGZ6Q\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBPayoutTerminal.sol\":{\"keccak256\":\"0xbb556a74e4f82e9d65c3d1c40120bc57487440844b7bcf8c66935748aeab2dbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd59266c7f11194505b5727e21f230ba1c035869af69c1115491a18986b6cfed\",\"dweb:/ipfs/QmUDjp4KcKy4AMSUxVzuQybxEHfuzFCjrfGFmC2ydThEU1\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBPriceFeed.sol\":{\"keccak256\":\"0x57c71282fec1b34b00cf991ffed2e36031c393e35bfa7ca5d723eb6572fb7122\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f51c97ac194d3120a2fb5428eeeff759b75b7cbc5708465afc914619016a7c9b\",\"dweb:/ipfs/QmemTqsGqoPqG97EsdRTMAbB6RfCz8CJxGYPNnDTV6LJ2t\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBPrices.sol\":{\"keccak256\":\"0x82a175b1f4b95b506c98406576cd59cbe04615e3df24f9cf3587b61b8ee323b1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5493e394cf47fca51a4091f1e6d285cc9e4ff9916e5bdfb8e174fe652a2b9833\",\"dweb:/ipfs/QmTXafZatcjYbNMpUYYk1AWNZLkRFK7VVdAYYudGf4z3HJ\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBRedemptionDelegate.sol\":{\"keccak256\":\"0xc9d3db9f3069a7ce71fabd775330bd3ce084210b3e03157b26791ba3a9eed766\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a2a775406e7e1904d779065a778618afe21cad2aac918c3da7c79eafa5dbce5\",\"dweb:/ipfs/QmSA24ByUAT3tcfDkHRMNhdsr1G1CMDHBWtuGYPt2ePR31\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBRedemptionTerminal.sol\":{\"keccak256\":\"0xe26a6a03468401b802ae5328b39a266f53b9331a1c077fcbf7719d10ba74ff44\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dae771e2abe46134bb23e5eebc30ebebb09a0677a8827f89a51e84902176cfb8\",\"dweb:/ipfs/QmRqF3cdeB46PfYb6bGeFKQetjBJHaJHGV47kTbtMMsoEp\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBSingleTokenPaymentTerminal.sol\":{\"keccak256\":\"0xf6e78323caa9af7bbf024f44b2032a83fed0394e0b3a242a6346e73c85b2e46f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63c9f3f0db323bd5492c76da3ae2bae7895e287a824729d125bfb650121d576c\",\"dweb:/ipfs/QmPWohiNJvv6JtH8yAtqomiwVheEvKXY4SfHjL98vd2mQY\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBSingleTokenPaymentTerminalStore.sol\":{\"keccak256\":\"0xcd9f6efab46e54edb83b88bc6e2053940a8d1dcf55ba78376db65865bb90865b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dfdad0daf54b54c99fde65734bb86ca4be9b895426367ab092f24448e71dc2e4\",\"dweb:/ipfs/QmQjf7aAaeNca4nRk6aPzxahdbdewjSbiMjevHM2KNHEc4\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBSplitAllocator.sol\":{\"keccak256\":\"0x5efb6f51fc161f42ff58989386ad99028e4039a0ba897d66f358c3dfcf686105\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://171df7cf5285170894d7d7d00ecb14271204b55d330fa65e1bf9ebfb21741c29\",\"dweb:/ipfs/QmXBmzjVVgGd1hZoStw2qoypJnqyWgYeMXMLyYS7f6Zonu\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBSplitsStore.sol\":{\"keccak256\":\"0x66dab3dd394e318b850401ca92c2963b906cc0ad5562fa5d4f6f850175d1c77a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://948dae4e7eddc75f32fe75b25f97a7bad0e7b335a8a5a8dfd81b532dd325dd27\",\"dweb:/ipfs/QmZY1s7r85NWVdqhmUE71Pkuo7CPk8SMgAwUrj8bLpTaWC\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBToken.sol\":{\"keccak256\":\"0x207a88090ae19a77ed31df33ccf02dac48a79efb7d256557748590ffec943918\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06ffa12784a9e94f3bc46febc830517da39ca6dde13cf9da79b4f46b232a50eb\",\"dweb:/ipfs/QmW5gfZGPMzusbACVoqkJEUxS9JsW9CkJhgw7vUNufcZnb\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBTokenStore.sol\":{\"keccak256\":\"0x2e8280c07a953d5b8208faf17e0d2884a4a141dd0579ec27ed02953016c6d6a0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e40134db925a6c0f195794ab95cf20f97be1281294c153baab2b606673cb42db\",\"dweb:/ipfs/QmbDCMdtkLNVyy7EC4sQNkxg9GBiurXybUAwAHzQQorp46\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"lib/juice-contracts-v2/contracts/libraries/JBConstants.sol\":{\"keccak256\":\"0x98544ffc26d20606979ede34ea69e552254e54d0e9d1ac44a3035da04aa7e179\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9c3556e0ae8b9ede7ac3d3f4d6d93d76d19a312ab5c2c42708edabb376de36e8\",\"dweb:/ipfs/Qmb1bHJM8HwcSMUQFvUwiu8tuvvoGUaVb2UNWxrkPfa6NU\"]},\"lib/juice-contracts-v2/contracts/libraries/JBCurrencies.sol\":{\"keccak256\":\"0x7e417ff25c173608ee4fe6d9fc3dcd5e1458c78c889af12bac47b1189a436076\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://92a96ba0dfa74f968db8d5f367c92a8c7e616c70cafab3b6d7f049e43b501e84\",\"dweb:/ipfs/QmdJHS7yVcXjTzN82LjNZp77uzYZPL3951NWit4i36pN7Q\"]},\"lib/juice-contracts-v2/contracts/libraries/JBFixedPointNumber.sol\":{\"keccak256\":\"0x6c88270f32ea2afb9dbba9cc385545a798b2c3566a51993b09546b66c3b400c1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01c2c849e124d267d0be4d74151cf55d4cb327b40a43e6e9e6038a95b100d54d\",\"dweb:/ipfs/QmWHKfUfG9vbaqBX1iPoo2eT6jUd5qvup1wtLpQRpnyBMB\"]},\"lib/juice-contracts-v2/contracts/libraries/JBFundingCycleMetadataResolver.sol\":{\"keccak256\":\"0x59335bb6c4cb84ae96b98b018a3ac8fa92ab0ded114a4fc4687b1c401d60a8e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://984509a0626af41334199c47b85ba0e65ac574bdb06b109ba7ef472cc23fb217\",\"dweb:/ipfs/QmW2up6Ygoyk689gZ9CFeWBqu3yc23GEoQRBkwzQBokHBX\"]},\"lib/juice-contracts-v2/contracts/libraries/JBGlobalFundingCycleMetadataResolver.sol\":{\"keccak256\":\"0x1c17fb92f5fe5045ab74b4d6d7ea36f13ec98ce9dd8699bdab1b7b07b847712d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de5e36ed47e15ace426c26606d304b2d24608a3cc08bad15ca27ced38458d0eb\",\"dweb:/ipfs/QmeXtWa4GkAEXeuvBkahmt1JfcvLkVcrPhUtqd95V6kawi\"]},\"lib/juice-contracts-v2/contracts/libraries/JBOperations.sol\":{\"keccak256\":\"0x79c3bd02aba425ad90cc3af3350f150fe325477ccabff54059ff682f1d978e49\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f08f3923f689374b88915b2de168131a3091fbf16be62801702b01054999ff44\",\"dweb:/ipfs/QmWaTHGwmQSyWQvNwb5rmRmBABWfwvecXLnevxh3ijAQhU\"]},\"lib/juice-contracts-v2/contracts/libraries/JBSplitsGroups.sol\":{\"keccak256\":\"0x4183db6087bd8db645fc3a0d3d8afb0d6356e003650793f63c301ebbbae47269\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0114af7edb6cdc38cd472fea4e88bb4766c78290ddf97323ee40a4554d541124\",\"dweb:/ipfs/QmYmYmhSDRYKvxQoEBpaSabEiVrz9CV7A9dTCrXP3ZVNov\"]},\"lib/juice-contracts-v2/contracts/libraries/JBTokens.sol\":{\"keccak256\":\"0xecf82992f7b827766aa55f16872517a646521eef414d8cc9786617ea377e5463\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4bb334faa6d2d071473bfcd7efeb5bfa068c340600c204651d59a94be4e4b147\",\"dweb:/ipfs/QmaKgSCvDNgQ6dh2gZfQ9VhkPuRCoACv8e7sd1K9VFikix\"]},\"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/JBFee.sol\":{\"keccak256\":\"0xf4759ff41fe7f1db0fd1ccc7b2a326b239389fd8d69df9b9ed5e1d5926f6fe38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://55796903c879372a459a0eddfa333bc903d6cedb66125787d13ef7eea5c53cc6\",\"dweb:/ipfs/QmZNsajvSxGc6859Jy2ZC6Dk6oy66Y9if9ETcpFa2xZkHP\"]},\"lib/juice-contracts-v2/contracts/structs/JBFundAccessConstraints.sol\":{\"keccak256\":\"0x85ebaa57b788cbdedc7a3d0eec4892eda5d79db7c1a6103797f10d0d989775b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a911a9d1d0a6f0e475854838877d2d3ae606028381c2aef7fac192a33e3d329\",\"dweb:/ipfs/QmTih57fwyaXdjvXCrG9BbdayD6H2AHQrYkuL4v4rYhMyF\"]},\"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/JBFundingCycleMetadata.sol\":{\"keccak256\":\"0x2aab9b62985dc475862d34d71fef0fa9b5d4b7597452ccaa126235c8cffe9987\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc1e54b509345daf48d9c0f16124f6c844ae32f660a88548dca08c975fd81571\",\"dweb:/ipfs/QmZWtc4VZzqFo7Mw6oqd1Wy71KVK2TiEhXkRiyR8k2FDRh\"]},\"lib/juice-contracts-v2/contracts/structs/JBGlobalFundingCycleMetadata.sol\":{\"keccak256\":\"0xff35fac669c1a91919999529bbf6b4d1c355e7def9a58bf3c4a4eb61093c12b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a3557432087754dac599437bd0f45f79d78c839204b7493d7ed493a34abbf554\",\"dweb:/ipfs/QmVnFBo3thTyevFfTa7PX3cjtQf6iPWJNoDWWga63YnNth\"]},\"lib/juice-contracts-v2/contracts/structs/JBGroupedSplits.sol\":{\"keccak256\":\"0x80be1b220da4ac04851ea540ebb94c1ec2b0442ec5bd1e88fdf78a56becd8b5a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b73e5da7d38bfadd565c202aa1a5a6c08a51542699e8e3683b8888009bc62563\",\"dweb:/ipfs/QmUNTy4XVvfAMqP7wCjj84deTvCehkBL1diZoWkyMCVsPw\"]},\"lib/juice-contracts-v2/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"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/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"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/JBSplit.sol\":{\"keccak256\":\"0xc80a16606da8abf76d0f73abc38aee041e24f29342c1939018f70c286e89f105\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d257df1f322904fdbf34a0d28880cc96a1ba3905d19488d83156a7d3476d820f\",\"dweb:/ipfs/QmP6WFuoK6ePEQ2zxRnpu1kWDdFSUTGaEV57eZ4gs9FqC8\"]},\"lib/juice-contracts-v2/contracts/structs/JBSplitAllocationData.sol\":{\"keccak256\":\"0x39f5c41bd31d36774744698ac94484b6cab62d7038df2f29d947668959782e63\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cf81d025aa0f6f93bdcd0b863730f7c574de7c3c4a595ba88e342f46c4b724e4\",\"dweb:/ipfs/QmaQ1frbYciPVV1Qmsfmgts9fgbXKZLQ8jGf9XRikHSmci\"]},\"lib/juice-contracts-v2/contracts/structs/JBTokenAmount.sol\":{\"keccak256\":\"0x4a778e779ba257ba5638c5469e07a4d21b55a3128d56db5a0fdfacb1f3301c51\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fdb8302e06c5b4e1e91d204ed735d8d5db5bb3648200c144d7c545678010a44d\",\"dweb:/ipfs/QmTpffbt3FShkk8LDjsonVGnecbbNMUL8QHYQM7AFcMa54\"]},\"lib/juice-contracts-v2/lib/prb-math/contracts/PRBMath.sol\":{\"keccak256\":\"0xe981069ba1d98749de50dec3983d023a996575d2e7e983f9eb4a33601f655766\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://2804382c50036b38925399624a1a271b50f77ac5476d93fa703266bb60e70de8\",\"dweb:/ipfs/QmXbw6xZc3tBt8MEwSymL9H842xPcnHVu9pwNzf5wAgCoH\"]},\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2\",\"dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y\"]},\"lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x03a26b0ce85afee2c16f3232bd123286b849ca576778781cf6e8bbf51cb7570a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://13a4f5cec214760f14abaedfc0a1860d80c2267386fa62dc77e8eee51ec84d71\",\"dweb:/ipfs/QmWmEKeofHqLnNEeCivhzTepo1k5xZZqzMxyyyzNBYiYBW\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"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": [],
          "type": "error",
          "name": "FEE_TOO_HIGH"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "INADEQUATE_DISTRIBUTION_AMOUNT"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "INADEQUATE_RECLAIM_AMOUNT"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "INADEQUATE_TOKEN_COUNT"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "NO_MSG_VALUE_ALLOWED"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "PAY_TO_ZERO_ADDRESS"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "prod1",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "denominator",
              "type": "uint256"
            }
          ],
          "type": "error",
          "name": "PRBMath__MulDivOverflow"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "PROJECT_TERMINAL_MISMATCH"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "REDEEM_TO_ZERO_ADDRESS"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "TERMINAL_IN_SPLIT_ZERO_ADDRESS"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "TERMINAL_TOKENS_INCOMPATIBLE"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "UNAUTHORIZED"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "refundedFees",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string",
              "indexed": false
            },
            {
              "internalType": "bytes",
              "name": "metadata",
              "type": "bytes",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "AddToBalance",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBPayDelegate",
              "name": "delegate",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "struct JBDidPayData",
              "name": "data",
              "type": "tuple",
              "components": [
                {
                  "internalType": "address",
                  "name": "payer",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "projectId",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currentFundingCycleConfiguration",
                  "type": "uint256"
                },
                {
                  "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": "projectTokenCount",
                  "type": "uint256"
                },
                {
                  "internalType": "address",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "bool",
                  "name": "preferClaimedTokens",
                  "type": "bool"
                },
                {
                  "internalType": "string",
                  "name": "memo",
                  "type": "string"
                },
                {
                  "internalType": "bytes",
                  "name": "metadata",
                  "type": "bytes"
                }
              ],
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "DelegateDidPay",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBRedemptionDelegate",
              "name": "delegate",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "struct JBDidRedeemData",
              "name": "data",
              "type": "tuple",
              "components": [
                {
                  "internalType": "address",
                  "name": "holder",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "projectId",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currentFundingCycleConfiguration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "projectTokenCount",
                  "type": "uint256"
                },
                {
                  "internalType": "struct JBTokenAmount",
                  "name": "reclaimedAmount",
                  "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": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "string",
                  "name": "memo",
                  "type": "string"
                },
                {
                  "internalType": "bytes",
                  "name": "metadata",
                  "type": "bytes"
                }
              ],
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "DelegateDidRedeem",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "fundingCycleConfiguration",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "fundingCycleNumber",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "distributedAmount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "fee",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "beneficiaryDistributionAmount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "DistributePayouts",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "domain",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "group",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "struct JBSplit",
              "name": "split",
              "type": "tuple",
              "components": [
                {
                  "internalType": "bool",
                  "name": "preferClaimed",
                  "type": "bool"
                },
                {
                  "internalType": "bool",
                  "name": "preferAddToBalance",
                  "type": "bool"
                },
                {
                  "internalType": "uint256",
                  "name": "percent",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "projectId",
                  "type": "uint256"
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "lockedUntil",
                  "type": "uint256"
                },
                {
                  "internalType": "contract IJBSplitAllocator",
                  "name": "allocator",
                  "type": "address"
                }
              ],
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "DistributeToPayoutSplit",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "fee",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "feeDiscount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "HoldFee",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "to",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Migrate",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "previousOwner",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "newOwner",
              "type": "address",
              "indexed": true
            }
          ],
          "type": "event",
          "name": "OwnershipTransferred",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "fundingCycleConfiguration",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "fundingCycleNumber",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "payer",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "beneficiaryTokenCount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string",
              "indexed": false
            },
            {
              "internalType": "bytes",
              "name": "metadata",
              "type": "bytes",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Pay",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "bool",
              "name": "wasHeld",
              "type": "bool",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "ProcessFee",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "fundingCycleConfiguration",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "fundingCycleNumber",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "holder",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "tokenCount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "reclaimedAmount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string",
              "indexed": false
            },
            {
              "internalType": "bytes",
              "name": "metadata",
              "type": "bytes",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "RedeemTokens",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "refundedFees",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "leftoverAmount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "RefundHeldFees",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "fee",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetFee",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBFeeGauge",
              "name": "feeGauge",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetFeeGauge",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "addrs",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "bool",
              "name": "flag",
              "type": "bool",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetFeelessAddress",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "fundingCycleConfiguration",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "fundingCycleNumber",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "distributedAmount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "netDistributedamount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "UseAllowance",
          "anonymous": false
        },
        {
          "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": "baseWeightCurrency",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "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": [],
          "stateMutability": "view",
          "type": "function",
          "name": "directory",
          "outputs": [
            {
              "internalType": "contract IJBDirectory",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_currency",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_minReturnedTokens",
              "type": "uint256"
            },
            {
              "internalType": "string",
              "name": "_memo",
              "type": "string"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "distributePayoutsOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "netLeftoverDistributionAmount",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "fee",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "feeGauge",
          "outputs": [
            {
              "internalType": "contract IJBFeeGauge",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "heldFeesOf",
          "outputs": [
            {
              "internalType": "struct JBFee[]",
              "name": "",
              "type": "tuple[]",
              "components": [
                {
                  "internalType": "uint256",
                  "name": "amount",
                  "type": "uint256"
                },
                {
                  "internalType": "uint32",
                  "name": "fee",
                  "type": "uint32"
                },
                {
                  "internalType": "uint32",
                  "name": "feeDiscount",
                  "type": "uint32"
                },
                {
                  "internalType": "address",
                  "name": "beneficiary",
                  "type": "address"
                }
              ]
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "isFeelessAddress",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "_to",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "migrate",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "balance",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "operatorStore",
          "outputs": [
            {
              "internalType": "contract IJBOperatorStore",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "owner",
          "outputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "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": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "payoutSplitsGroup",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "prices",
          "outputs": [
            {
              "internalType": "contract IJBPrices",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "processFees"
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "projects",
          "outputs": [
            {
              "internalType": "contract IJBProjects",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_tokenCount",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_minReturnedTokens",
              "type": "uint256"
            },
            {
              "internalType": "address payable",
              "name": "_beneficiary",
              "type": "address"
            },
            {
              "internalType": "string",
              "name": "_memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "_metadata",
              "type": "bytes"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "redeemTokensOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "reclaimAmount",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "renounceOwnership"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_fee",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setFee"
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBFeeGauge",
              "name": "_feeGauge",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setFeeGauge"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_address",
              "type": "address"
            },
            {
              "internalType": "bool",
              "name": "_flag",
              "type": "bool"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setFeelessAddress"
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "splitsStore",
          "outputs": [
            {
              "internalType": "contract IJBSplitsStore",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "store",
          "outputs": [
            {
              "internalType": "contract IJBSingleTokenPaymentTerminalStore",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "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"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "newOwner",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "transferOwnership"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_currency",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_minReturnedTokens",
              "type": "uint256"
            },
            {
              "internalType": "address payable",
              "name": "_beneficiary",
              "type": "address"
            },
            {
              "internalType": "string",
              "name": "_memo",
              "type": "string"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "useAllowanceOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "netDistributedAmount",
              "type": "uint256"
            }
          ]
        }
      ],
      "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."
            }
          },
          "addToBalanceOf(uint256,uint256,address,string,bytes)": {
            "params": {
              "_amount": "The amount of tokens to add, as a fixed point number with the same number of decimals as this terminal. If this is an ETH terminal, this is ignored and msg.value is used instead.",
              "_memo": "A memo to pass along to the emitted event.",
              "_metadata": "Extra data to pass along to the emitted event.",
              "_projectId": "The ID of the project to which the funds received belong.",
              "_token": "The token being paid. This terminal ignores this property since it only manages one currency. "
            }
          },
          "constructor": {
            "params": {
              "_baseWeightCurrency": "The currency to base token issuance on.",
              "_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.",
              "_directory": "A contract storing directories of terminals and controllers for each project.",
              "_operatorStore": "A contract storing operator assignments.",
              "_owner": "The address that will own this contract.",
              "_payoutSplitsGroup": "The group that denotes payout splits from this terminal in the splits store.",
              "_prices": "A contract that exposes price feeds.",
              "_projects": "A contract which mints ERC-721's that represent project ownership and transfers.",
              "_splitsStore": "A contract that stores splits for each project.",
              "_store": "A contract that stores the terminal's data.",
              "_token": "The token that this terminal manages."
            }
          },
          "currencyForToken(address)": {
            "params": {
              "_token": "The token to check for the currency of."
            },
            "returns": {
              "_0": "The currency index."
            }
          },
          "currentEthOverflowOf(uint256)": {
            "details": "The current overflow is represented as a fixed point number with 18 decimals.",
            "params": {
              "_projectId": "The ID of the project to get overflow for."
            },
            "returns": {
              "_0": "The current amount of ETH overflow that project has in this terminal, as a fixed point number with 18 decimals."
            }
          },
          "decimalsForToken(address)": {
            "params": {
              "_token": "The token to check for the decimals of."
            },
            "returns": {
              "_0": "The number of decimals for the token."
            }
          },
          "distributePayoutsOf(uint256,uint256,uint256,address,uint256,string)": {
            "details": "Payouts are sent to the preprogrammed splits. Any leftover is sent to the project's owner.Anyone can distribute payouts on a project's behalf. The project can preconfigure a wildcard split that is used to send funds to msg.sender. This can be used to incentivize calling this function.All funds distributed outside of this contract or any feeless terminals incure the protocol fee.",
            "params": {
              "_amount": "The amount of terminal tokens to distribute, as a fixed point number with same number of decimals as this terminal.",
              "_currency": "The expected currency of the amount being distributed. Must match the project's current funding cycle's distribution limit currency.",
              "_memo": "A memo to pass along to the emitted event.",
              "_minReturnedTokens": "The minimum number of terminal tokens that the `_amount` should be valued at in terms of this terminal's currency, as a fixed point number with the same number of decimals as this terminal.",
              "_projectId": "The ID of the project having its payouts distributed.",
              "_token": "The token being distributed. This terminal ignores this property since it only manages one token. "
            },
            "returns": {
              "netLeftoverDistributionAmount": "The amount that was sent to the project owner, as a fixed point number with the same amount of decimals as this terminal."
            }
          },
          "heldFeesOf(uint256)": {
            "params": {
              "_projectId": "The ID of the project for which fees are being held."
            },
            "returns": {
              "_0": "An array of fees that are being held."
            }
          },
          "migrate(uint256,address)": {
            "details": "Only a project's owner or a designated operator can migrate it.",
            "params": {
              "_projectId": "The ID of the project being migrated.",
              "_to": "The terminal contract that will gain the project's funds."
            },
            "returns": {
              "balance": "The amount of funds that were migrated, as a fixed point number with the same amount of decimals as this terminal."
            }
          },
          "owner()": {
            "details": "Returns the address of the current owner."
          },
          "pay(uint256,uint256,address,address,uint256,bool,string,bytes)": {
            "params": {
              "_amount": "The amount of terminal tokens being received, as a fixed point number with the same amount of decimals as this terminal. If this terminal's token is ETH, this is ignored and msg.value is used in its place.",
              "_beneficiary": "The address to mint tokens for and pass along to the funding cycle's data source and delegate.",
              "_memo": "A memo to pass along to the emitted event, and passed along the the funding cycle's data source and delegate.  A data source can alter the memo before emitting in the event and forwarding to the delegate.",
              "_metadata": "Bytes to send along to the data source, delegate, and emitted event, if provided.",
              "_minReturnedTokens": "The minimum number of project tokens expected in return, as a fixed point number with the same amount of decimals as this terminal.",
              "_preferClaimedTokens": "A flag indicating whether the request prefers to mint project tokens into the beneficiaries wallet rather than leaving them unclaimed. This is only possible if the project has an attached token contract. Leaving them unclaimed saves gas.",
              "_projectId": "The ID of the project being paid.",
              "_token": "The token being paid. This terminal ignores this property since it only manages one token. "
            },
            "returns": {
              "_0": "The number of tokens minted for the beneficiary, as a fixed point number with 18 decimals."
            }
          },
          "processFees(uint256)": {
            "details": "Only a project owner, an operator, or the contract's owner can process held fees.",
            "params": {
              "_projectId": "The ID of the project whos held fees should be processed."
            }
          },
          "redeemTokensOf(address,uint256,uint256,address,uint256,address,string,bytes)": {
            "details": "Only a token holder or a designated operator can redeem its tokens.",
            "params": {
              "_beneficiary": "The address to send the terminal tokens to.",
              "_holder": "The account to redeem tokens for.",
              "_memo": "A memo to pass along to the emitted event.",
              "_metadata": "Bytes to send along to the data source, delegate, and emitted event, if provided.",
              "_minReturnedTokens": "The minimum amount of terminal tokens expected in return, as a fixed point number with the same amount of decimals as the terminal.",
              "_projectId": "The ID of the project to which the tokens being redeemed belong.",
              "_token": "The token being reclaimed. This terminal ignores this property since it only manages one token. ",
              "_tokenCount": "The number of project tokens to redeem, as a fixed point number with 18 decimals."
            },
            "returns": {
              "reclaimAmount": "The amount of terminal tokens that the project tokens were redeemed for, as a fixed point number with 18 decimals."
            }
          },
          "renounceOwnership()": {
            "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
          },
          "setFee(uint256)": {
            "details": "Only the owner of this contract can change the fee.",
            "params": {
              "_fee": "The new fee, out of MAX_FEE."
            }
          },
          "setFeeGauge(address)": {
            "details": "Only the owner of this contract can change the fee gauge.If the fee gauge reverts when called upon while a project is attempting to distribute its funds, a project's funds will be locked. This is a known risk.",
            "params": {
              "_feeGauge": "The new fee gauge."
            }
          },
          "setFeelessAddress(address,bool)": {
            "details": "Only the owner of this contract can set addresses as feeless.",
            "params": {
              "_address": "The address that can be paid towards while still bypassing fees.",
              "_flag": "A flag indicating whether the terminal should be feeless or not."
            }
          },
          "supportsInterface(bytes4)": {
            "details": " See {IERC165-supportsInterface}.",
            "params": {
              "_interfaceId": "The ID of the interface to check for adherance to."
            }
          },
          "transferOwnership(address)": {
            "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
          },
          "useAllowanceOf(uint256,uint256,uint256,address,uint256,address,string)": {
            "details": "Only a project's owner or a designated operator can use its allowance.Incurs the protocol fee.",
            "params": {
              "_amount": "The amount of terminal tokens to use from this project's current allowance, as a fixed point number with the same amount of decimals as this terminal.",
              "_beneficiary": "The address to send the funds to.",
              "_currency": "The expected currency of the amount being distributed. Must match the project's current funding cycle's overflow allowance currency.",
              "_memo": "A memo to pass along to the emitted event.",
              "_minReturnedTokens": "The minimum number of tokens that the `_amount` should be valued at in terms of this terminal's currency, as a fixed point number with 18 decimals.",
              "_projectId": "The ID of the project to use the allowance of.",
              "_token": "The token being distributed. This terminal ignores this property since it only manages one token. "
            },
            "returns": {
              "netDistributedAmount": "The amount of tokens that was distributed to the beneficiary, as a fixed point number with the same amount of decimals as the terminal."
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "acceptsToken(address,uint256)": {
            "notice": "A flag indicating if this terminal accepts the specified token."
          },
          "addToBalanceOf(uint256,uint256,address,string,bytes)": {
            "notice": "Receives funds belonging to the specified project."
          },
          "baseWeightCurrency()": {
            "notice": "The currency to base token issuance on."
          },
          "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."
          },
          "currentEthOverflowOf(uint256)": {
            "notice": "Gets the current overflowed amount in this terminal for a specified project, in terms of ETH."
          },
          "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."
          },
          "directory()": {
            "notice": "The directory of terminals and controllers for projects."
          },
          "distributePayoutsOf(uint256,uint256,uint256,address,uint256,string)": {
            "notice": "Distributes payouts for a project with the distribution limit of its current funding cycle."
          },
          "fee()": {
            "notice": "The platform fee percent."
          },
          "feeGauge()": {
            "notice": "The data source that returns a discount to apply to a project's fee."
          },
          "heldFeesOf(uint256)": {
            "notice": "The fees that are currently being held to be processed later for each project."
          },
          "isFeelessAddress(address)": {
            "notice": "Addresses that can be paid towards from this terminal without incurring a fee. _address The address that can be paid toward."
          },
          "migrate(uint256,address)": {
            "notice": "Allows a project owner to migrate its funds and operations to a new terminal that accepts the same token type."
          },
          "operatorStore()": {
            "notice": " A contract storing operator assignments."
          },
          "pay(uint256,uint256,address,address,uint256,bool,string,bytes)": {
            "notice": "Contribute tokens to a project."
          },
          "payoutSplitsGroup()": {
            "notice": "The group that payout splits coming from this terminal are identified by."
          },
          "prices()": {
            "notice": "The contract that exposes price feeds."
          },
          "processFees(uint256)": {
            "notice": "Process any fees that are being held for the project."
          },
          "projects()": {
            "notice": "Mints ERC-721's that represent project ownership and transfers."
          },
          "redeemTokensOf(address,uint256,uint256,address,uint256,address,string,bytes)": {
            "notice": "Holders can redeem their tokens to claim the project's overflowed tokens, or to trigger rules determined by the project's current funding cycle's data source."
          },
          "setFee(uint256)": {
            "notice": "Allows the fee to be updated."
          },
          "setFeeGauge(address)": {
            "notice": "Allows the fee gauge to be updated."
          },
          "setFeelessAddress(address,bool)": {
            "notice": "Sets whether projects operating on this terminal can pay towards the specified address without incurring a fee."
          },
          "splitsStore()": {
            "notice": "The contract that stores splits for each project."
          },
          "store()": {
            "notice": "The contract that stores and manages the terminal's data."
          },
          "supportsInterface(bytes4)": {
            "notice": "Indicates if this contract adheres to the specified interface."
          },
          "token()": {
            "notice": "The token that this terminal accepts."
          },
          "useAllowanceOf(uint256,uint256,uint256,address,uint256,address,string)": {
            "notice": "Allows a project to send funds from its overflow up to the preconfigured allowance."
          }
        },
        "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/JBPayoutRedemptionPaymentTerminal.sol": "JBPayoutRedemptionPaymentTerminal"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/contracts/abstract/JBOperatable.sol": {
        "keccak256": "0x9a5781d40c6b8013249653253369cda2047aa35329a1fcd4dc6353cd2dde30a6",
        "urls": [
          "bzz-raw://1adb7facf833740d5cfe469d7e2172d73ee1424b518583fc6210955820c9f156",
          "dweb:/ipfs/QmbLoiFcmLnqjQJ5JPyWRrrrg3Q79Vp2mLQcEngWTrAbXn"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/abstract/JBPayoutRedemptionPaymentTerminal.sol": {
        "keccak256": "0x491bbbb594779bcdf098162988afa54ad768e318249ad16359d6bb062b63a871",
        "urls": [
          "bzz-raw://fe7ff945ef2aa5bf8fb912a4826c99720faf6d4a328c5cc642a4f7a0d6420691",
          "dweb:/ipfs/QmbD9LFacg7n9QyuHAKhhDSHvJsQnno5UqtV3XS64jiLgM"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/abstract/JBSingleTokenPaymentTerminal.sol": {
        "keccak256": "0x53c834371e6b5861af606ee3c99fce3fd222ca6689345a8d9a93cdb1932d6c88",
        "urls": [
          "bzz-raw://e09f23a7d0da29c866098214ee504966e98419fa07ee101a33458cec1aa593af",
          "dweb:/ipfs/QmdyRivRcmsmTfrxQHSgfm8Ktrs1XTY1FiV8NjmXufLEvi"
        ],
        "license": "MIT"
      },
      "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/IJBAllowanceTerminal.sol": {
        "keccak256": "0x139d7628da9fc8510f53482d592cd4074d21c0cb6d72510ff2743076f3b17533",
        "urls": [
          "bzz-raw://9a24aae1fe774b6568e108ccc7b8805a4b0f2c02e3f5fb0d9fb8ff15d1670647",
          "dweb:/ipfs/QmcmZ3y3aUXWKdGXJ7kZvbYcs2x3RakUh2kLqFtnzU129S"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBController.sol": {
        "keccak256": "0x88cfbd76f3adfa48aaea39ed77145b2d63f5fa253ba2d304600b86dd19ccde7a",
        "urls": [
          "bzz-raw://e485b2a99f5bfdd7bf3ff62bca5feb8a9b6f414ed15bc8e7a0602a0b79245dea",
          "dweb:/ipfs/Qme98UcG5a23VEhnAoGDA3H5g1SfmGTt6Uhxn4UAKBkDkz"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBDirectory.sol": {
        "keccak256": "0x715321646db00514d1355ed43c40cd3f01e94959552fd07797b315d9c49cdb1d",
        "urls": [
          "bzz-raw://c34c9e1c727ffc63dd42fb6e6ffb3116c8ba15d6a322a300f10f29478974768d",
          "dweb:/ipfs/QmYToaGrbMyyWAuyepYcDd8M6KcmosY8AWhT3uJmPM6Pvy"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBFeeGauge.sol": {
        "keccak256": "0x8e19959617191320fe1210760860e668a57319258c0c74fcfabac829ae0222c0",
        "urls": [
          "bzz-raw://3dd8a4e26f3abc19f1b0580b02d894bd91d31f8d72d8ee1be529ecd6dc638723",
          "dweb:/ipfs/QmUxSM2ePxorxRNFxpxqDnRmGtQrwVMiezQsbxLCCkLL5x"
        ],
        "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/IJBMigratable.sol": {
        "keccak256": "0xc81053e4b4754fc510aa04fecd3ab1460f01e3e27761e7a8c94f631a978ae127",
        "urls": [
          "bzz-raw://4c57ab7d0c0e6d9be798055d68b6f253421458b3beb38d0a3596da104000ca9e",
          "dweb:/ipfs/QmXn1CaffHoP2s43vkUszihdNk1TdfAxejngfdk2VmBVFU"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBOperatable.sol": {
        "keccak256": "0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e",
        "urls": [
          "bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b",
          "dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBOperatorStore.sol": {
        "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5",
        "urls": [
          "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c",
          "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"
        ],
        "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/IJBPayoutRedemptionPaymentTerminal.sol": {
        "keccak256": "0xae2edad1a8f20c9c9ad3b94939f382d44001e372f0e98b4ddd7478a0e31d54fe",
        "urls": [
          "bzz-raw://3b9d39a322af1df44d80fec448b9e5a9d532a3cef9f7e677d90801b5edea543a",
          "dweb:/ipfs/Qma7Rv8g9PA8ppvbDHwLc15WUZG9vLndKAfkHJd1ifGZ6Q"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBPayoutTerminal.sol": {
        "keccak256": "0xbb556a74e4f82e9d65c3d1c40120bc57487440844b7bcf8c66935748aeab2dbd",
        "urls": [
          "bzz-raw://fd59266c7f11194505b5727e21f230ba1c035869af69c1115491a18986b6cfed",
          "dweb:/ipfs/QmUDjp4KcKy4AMSUxVzuQybxEHfuzFCjrfGFmC2ydThEU1"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBPriceFeed.sol": {
        "keccak256": "0x57c71282fec1b34b00cf991ffed2e36031c393e35bfa7ca5d723eb6572fb7122",
        "urls": [
          "bzz-raw://f51c97ac194d3120a2fb5428eeeff759b75b7cbc5708465afc914619016a7c9b",
          "dweb:/ipfs/QmemTqsGqoPqG97EsdRTMAbB6RfCz8CJxGYPNnDTV6LJ2t"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBPrices.sol": {
        "keccak256": "0x82a175b1f4b95b506c98406576cd59cbe04615e3df24f9cf3587b61b8ee323b1",
        "urls": [
          "bzz-raw://5493e394cf47fca51a4091f1e6d285cc9e4ff9916e5bdfb8e174fe652a2b9833",
          "dweb:/ipfs/QmTXafZatcjYbNMpUYYk1AWNZLkRFK7VVdAYYudGf4z3HJ"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBProjects.sol": {
        "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4",
        "urls": [
          "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9",
          "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"
        ],
        "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/interfaces/IJBRedemptionTerminal.sol": {
        "keccak256": "0xe26a6a03468401b802ae5328b39a266f53b9331a1c077fcbf7719d10ba74ff44",
        "urls": [
          "bzz-raw://dae771e2abe46134bb23e5eebc30ebebb09a0677a8827f89a51e84902176cfb8",
          "dweb:/ipfs/QmRqF3cdeB46PfYb6bGeFKQetjBJHaJHGV47kTbtMMsoEp"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBSingleTokenPaymentTerminal.sol": {
        "keccak256": "0xf6e78323caa9af7bbf024f44b2032a83fed0394e0b3a242a6346e73c85b2e46f",
        "urls": [
          "bzz-raw://63c9f3f0db323bd5492c76da3ae2bae7895e287a824729d125bfb650121d576c",
          "dweb:/ipfs/QmPWohiNJvv6JtH8yAtqomiwVheEvKXY4SfHjL98vd2mQY"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBSingleTokenPaymentTerminalStore.sol": {
        "keccak256": "0xcd9f6efab46e54edb83b88bc6e2053940a8d1dcf55ba78376db65865bb90865b",
        "urls": [
          "bzz-raw://dfdad0daf54b54c99fde65734bb86ca4be9b895426367ab092f24448e71dc2e4",
          "dweb:/ipfs/QmQjf7aAaeNca4nRk6aPzxahdbdewjSbiMjevHM2KNHEc4"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBSplitAllocator.sol": {
        "keccak256": "0x5efb6f51fc161f42ff58989386ad99028e4039a0ba897d66f358c3dfcf686105",
        "urls": [
          "bzz-raw://171df7cf5285170894d7d7d00ecb14271204b55d330fa65e1bf9ebfb21741c29",
          "dweb:/ipfs/QmXBmzjVVgGd1hZoStw2qoypJnqyWgYeMXMLyYS7f6Zonu"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBSplitsStore.sol": {
        "keccak256": "0x66dab3dd394e318b850401ca92c2963b906cc0ad5562fa5d4f6f850175d1c77a",
        "urls": [
          "bzz-raw://948dae4e7eddc75f32fe75b25f97a7bad0e7b335a8a5a8dfd81b532dd325dd27",
          "dweb:/ipfs/QmZY1s7r85NWVdqhmUE71Pkuo7CPk8SMgAwUrj8bLpTaWC"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBToken.sol": {
        "keccak256": "0x207a88090ae19a77ed31df33ccf02dac48a79efb7d256557748590ffec943918",
        "urls": [
          "bzz-raw://06ffa12784a9e94f3bc46febc830517da39ca6dde13cf9da79b4f46b232a50eb",
          "dweb:/ipfs/QmW5gfZGPMzusbACVoqkJEUxS9JsW9CkJhgw7vUNufcZnb"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBTokenStore.sol": {
        "keccak256": "0x2e8280c07a953d5b8208faf17e0d2884a4a141dd0579ec27ed02953016c6d6a0",
        "urls": [
          "bzz-raw://e40134db925a6c0f195794ab95cf20f97be1281294c153baab2b606673cb42db",
          "dweb:/ipfs/QmbDCMdtkLNVyy7EC4sQNkxg9GBiurXybUAwAHzQQorp46"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBTokenUriResolver.sol": {
        "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174",
        "urls": [
          "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e",
          "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/libraries/JBConstants.sol": {
        "keccak256": "0x98544ffc26d20606979ede34ea69e552254e54d0e9d1ac44a3035da04aa7e179",
        "urls": [
          "bzz-raw://9c3556e0ae8b9ede7ac3d3f4d6d93d76d19a312ab5c2c42708edabb376de36e8",
          "dweb:/ipfs/Qmb1bHJM8HwcSMUQFvUwiu8tuvvoGUaVb2UNWxrkPfa6NU"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/libraries/JBCurrencies.sol": {
        "keccak256": "0x7e417ff25c173608ee4fe6d9fc3dcd5e1458c78c889af12bac47b1189a436076",
        "urls": [
          "bzz-raw://92a96ba0dfa74f968db8d5f367c92a8c7e616c70cafab3b6d7f049e43b501e84",
          "dweb:/ipfs/QmdJHS7yVcXjTzN82LjNZp77uzYZPL3951NWit4i36pN7Q"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/libraries/JBFixedPointNumber.sol": {
        "keccak256": "0x6c88270f32ea2afb9dbba9cc385545a798b2c3566a51993b09546b66c3b400c1",
        "urls": [
          "bzz-raw://01c2c849e124d267d0be4d74151cf55d4cb327b40a43e6e9e6038a95b100d54d",
          "dweb:/ipfs/QmWHKfUfG9vbaqBX1iPoo2eT6jUd5qvup1wtLpQRpnyBMB"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/libraries/JBFundingCycleMetadataResolver.sol": {
        "keccak256": "0x59335bb6c4cb84ae96b98b018a3ac8fa92ab0ded114a4fc4687b1c401d60a8e9",
        "urls": [
          "bzz-raw://984509a0626af41334199c47b85ba0e65ac574bdb06b109ba7ef472cc23fb217",
          "dweb:/ipfs/QmW2up6Ygoyk689gZ9CFeWBqu3yc23GEoQRBkwzQBokHBX"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/libraries/JBGlobalFundingCycleMetadataResolver.sol": {
        "keccak256": "0x1c17fb92f5fe5045ab74b4d6d7ea36f13ec98ce9dd8699bdab1b7b07b847712d",
        "urls": [
          "bzz-raw://de5e36ed47e15ace426c26606d304b2d24608a3cc08bad15ca27ced38458d0eb",
          "dweb:/ipfs/QmeXtWa4GkAEXeuvBkahmt1JfcvLkVcrPhUtqd95V6kawi"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/libraries/JBOperations.sol": {
        "keccak256": "0x79c3bd02aba425ad90cc3af3350f150fe325477ccabff54059ff682f1d978e49",
        "urls": [
          "bzz-raw://f08f3923f689374b88915b2de168131a3091fbf16be62801702b01054999ff44",
          "dweb:/ipfs/QmWaTHGwmQSyWQvNwb5rmRmBABWfwvecXLnevxh3ijAQhU"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/libraries/JBSplitsGroups.sol": {
        "keccak256": "0x4183db6087bd8db645fc3a0d3d8afb0d6356e003650793f63c301ebbbae47269",
        "urls": [
          "bzz-raw://0114af7edb6cdc38cd472fea4e88bb4766c78290ddf97323ee40a4554d541124",
          "dweb:/ipfs/QmYmYmhSDRYKvxQoEBpaSabEiVrz9CV7A9dTCrXP3ZVNov"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/libraries/JBTokens.sol": {
        "keccak256": "0xecf82992f7b827766aa55f16872517a646521eef414d8cc9786617ea377e5463",
        "urls": [
          "bzz-raw://4bb334faa6d2d071473bfcd7efeb5bfa068c340600c204651d59a94be4e4b147",
          "dweb:/ipfs/QmaKgSCvDNgQ6dh2gZfQ9VhkPuRCoACv8e7sd1K9VFikix"
        ],
        "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/JBFee.sol": {
        "keccak256": "0xf4759ff41fe7f1db0fd1ccc7b2a326b239389fd8d69df9b9ed5e1d5926f6fe38",
        "urls": [
          "bzz-raw://55796903c879372a459a0eddfa333bc903d6cedb66125787d13ef7eea5c53cc6",
          "dweb:/ipfs/QmZNsajvSxGc6859Jy2ZC6Dk6oy66Y9if9ETcpFa2xZkHP"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBFundAccessConstraints.sol": {
        "keccak256": "0x85ebaa57b788cbdedc7a3d0eec4892eda5d79db7c1a6103797f10d0d989775b2",
        "urls": [
          "bzz-raw://1a911a9d1d0a6f0e475854838877d2d3ae606028381c2aef7fac192a33e3d329",
          "dweb:/ipfs/QmTih57fwyaXdjvXCrG9BbdayD6H2AHQrYkuL4v4rYhMyF"
        ],
        "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/JBFundingCycleMetadata.sol": {
        "keccak256": "0x2aab9b62985dc475862d34d71fef0fa9b5d4b7597452ccaa126235c8cffe9987",
        "urls": [
          "bzz-raw://bc1e54b509345daf48d9c0f16124f6c844ae32f660a88548dca08c975fd81571",
          "dweb:/ipfs/QmZWtc4VZzqFo7Mw6oqd1Wy71KVK2TiEhXkRiyR8k2FDRh"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBGlobalFundingCycleMetadata.sol": {
        "keccak256": "0xff35fac669c1a91919999529bbf6b4d1c355e7def9a58bf3c4a4eb61093c12b2",
        "urls": [
          "bzz-raw://a3557432087754dac599437bd0f45f79d78c839204b7493d7ed493a34abbf554",
          "dweb:/ipfs/QmVnFBo3thTyevFfTa7PX3cjtQf6iPWJNoDWWga63YnNth"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBGroupedSplits.sol": {
        "keccak256": "0x80be1b220da4ac04851ea540ebb94c1ec2b0442ec5bd1e88fdf78a56becd8b5a",
        "urls": [
          "bzz-raw://b73e5da7d38bfadd565c202aa1a5a6c08a51542699e8e3683b8888009bc62563",
          "dweb:/ipfs/QmUNTy4XVvfAMqP7wCjj84deTvCehkBL1diZoWkyMCVsPw"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBOperatorData.sol": {
        "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0",
        "urls": [
          "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af",
          "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"
        ],
        "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/JBProjectMetadata.sol": {
        "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0",
        "urls": [
          "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494",
          "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"
        ],
        "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/JBSplit.sol": {
        "keccak256": "0xc80a16606da8abf76d0f73abc38aee041e24f29342c1939018f70c286e89f105",
        "urls": [
          "bzz-raw://d257df1f322904fdbf34a0d28880cc96a1ba3905d19488d83156a7d3476d820f",
          "dweb:/ipfs/QmP6WFuoK6ePEQ2zxRnpu1kWDdFSUTGaEV57eZ4gs9FqC8"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBSplitAllocationData.sol": {
        "keccak256": "0x39f5c41bd31d36774744698ac94484b6cab62d7038df2f29d947668959782e63",
        "urls": [
          "bzz-raw://cf81d025aa0f6f93bdcd0b863730f7c574de7c3c4a595ba88e342f46c4b724e4",
          "dweb:/ipfs/QmaQ1frbYciPVV1Qmsfmgts9fgbXKZLQ8jGf9XRikHSmci"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBTokenAmount.sol": {
        "keccak256": "0x4a778e779ba257ba5638c5469e07a4d21b55a3128d56db5a0fdfacb1f3301c51",
        "urls": [
          "bzz-raw://fdb8302e06c5b4e1e91d204ed735d8d5db5bb3648200c144d7c545678010a44d",
          "dweb:/ipfs/QmTpffbt3FShkk8LDjsonVGnecbbNMUL8QHYQM7AFcMa54"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/lib/prb-math/contracts/PRBMath.sol": {
        "keccak256": "0xe981069ba1d98749de50dec3983d023a996575d2e7e983f9eb4a33601f655766",
        "urls": [
          "bzz-raw://2804382c50036b38925399624a1a271b50f77ac5476d93fa703266bb60e70de8",
          "dweb:/ipfs/QmXbw6xZc3tBt8MEwSymL9H842xPcnHVu9pwNzf5wAgCoH"
        ],
        "license": "Unlicense"
      },
      "lib/openzeppelin-contracts/contracts/access/Ownable.sol": {
        "keccak256": "0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673",
        "urls": [
          "bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2",
          "dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol": {
        "keccak256": "0x03a26b0ce85afee2c16f3232bd123286b849ca576778781cf6e8bbf51cb7570a",
        "urls": [
          "bzz-raw://13a4f5cec214760f14abaedfc0a1860d80c2267386fa62dc77e8eee51ec84d71",
          "dweb:/ipfs/QmWmEKeofHqLnNEeCivhzTepo1k5xZZqzMxyyyzNBYiYBW"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol": {
        "keccak256": "0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",
        "urls": [
          "bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34",
          "dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol": {
        "keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68",
        "urls": [
          "bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56",
          "dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/Context.sol": {
        "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",
        "urls": [
          "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92",
          "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"
        ],
        "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/JBPayoutRedemptionPaymentTerminal.sol",
    "id": 22463,
    "exportedSymbols": {
      "Context": [
        38890
      ],
      "ERC165": [
        30243
      ],
      "IERC165": [
        38868
      ],
      "IERC20": [
        37690
      ],
      "IERC721": [
        37612
      ],
      "IJBAllowanceTerminal": [
        22606
      ],
      "IJBController": [
        38113
      ],
      "IJBDirectory": [
        31924
      ],
      "IJBFeeGauge": [
        22626
      ],
      "IJBFundingCycleBallot": [
        40432
      ],
      "IJBFundingCycleDataSource": [
        38673
      ],
      "IJBFundingCycleStore": [
        38633
      ],
      "IJBMigratable": [
        38123
      ],
      "IJBOperatable": [
        22636
      ],
      "IJBOperatorStore": [
        22704
      ],
      "IJBPayDelegate": [
        38522
      ],
      "IJBPaymentTerminal": [
        31994
      ],
      "IJBPayoutRedemptionPaymentTerminal": [
        23035
      ],
      "IJBPayoutTerminal": [
        23055
      ],
      "IJBPriceFeed": [
        23065
      ],
      "IJBPrices": [
        23109
      ],
      "IJBProjects": [
        38202
      ],
      "IJBRedemptionDelegate": [
        38537
      ],
      "IJBRedemptionTerminal": [
        23133
      ],
      "IJBSingleTokenPaymentTerminal": [
        23154
      ],
      "IJBSingleTokenPaymentTerminalStore": [
        23358
      ],
      "IJBSplitAllocator": [
        32009
      ],
      "IJBSplitsStore": [
        38267
      ],
      "IJBToken": [
        35743
      ],
      "IJBTokenStore": [
        38496
      ],
      "IJBTokenUriResolver": [
        62435
      ],
      "JBBallotState": [
        62441
      ],
      "JBConstants": [
        35765
      ],
      "JBCurrencies": [
        38211
      ],
      "JBDidPayData": [
        35788
      ],
      "JBDidRedeemData": [
        35809
      ],
      "JBFee": [
        24157
      ],
      "JBFixedPointNumber": [
        23401
      ],
      "JBFundAccessConstraints": [
        35826
      ],
      "JBFundingCycle": [
        35849
      ],
      "JBFundingCycleData": [
        35862
      ],
      "JBFundingCycleMetadata": [
        35902
      ],
      "JBFundingCycleMetadataResolver": [
        23996
      ],
      "JBGlobalFundingCycleMetadata": [
        38681
      ],
      "JBGlobalFundingCycleMetadataResolver": [
        24080
      ],
      "JBGroupedSplits": [
        35912
      ],
      "JBOperatable": [
        20151
      ],
      "JBOperations": [
        24137
      ],
      "JBOperatorData": [
        24167
      ],
      "JBPayParamsData": [
        35939
      ],
      "JBPayoutRedemptionPaymentTerminal": [
        22462
      ],
      "JBProjectMetadata": [
        35946
      ],
      "JBRedeemParamsData": [
        35979
      ],
      "JBSingleTokenPaymentTerminal": [
        22584
      ],
      "JBSplit": [
        35998
      ],
      "JBSplitAllocationData": [
        32036
      ],
      "JBSplitsGroups": [
        24146
      ],
      "JBTokenAmount": [
        38507
      ],
      "JBTokens": [
        32019
      ],
      "Ownable": [
        36382
      ],
      "PRBMath": [
        26107
      ],
      "PRBMathSD59x18__AbsInputTooSmall": [
        24238
      ],
      "PRBMathSD59x18__CeilOverflow": [
        24243
      ],
      "PRBMathSD59x18__DivInputTooSmall": [
        24246
      ],
      "PRBMathSD59x18__DivOverflow": [
        24251
      ],
      "PRBMathSD59x18__Exp2InputTooBig": [
        24261
      ],
      "PRBMathSD59x18__ExpInputTooBig": [
        24256
      ],
      "PRBMathSD59x18__FloorUnderflow": [
        24266
      ],
      "PRBMathSD59x18__FromIntOverflow": [
        24271
      ],
      "PRBMathSD59x18__FromIntUnderflow": [
        24276
      ],
      "PRBMathSD59x18__GmNegativeProduct": [
        24283
      ],
      "PRBMathSD59x18__GmOverflow": [
        24290
      ],
      "PRBMathSD59x18__LogInputTooSmall": [
        24295
      ],
      "PRBMathSD59x18__MulInputTooSmall": [
        24298
      ],
      "PRBMathSD59x18__MulOverflow": [
        24303
      ],
      "PRBMathSD59x18__PowuOverflow": [
        24308
      ],
      "PRBMathSD59x18__SqrtNegativeInput": [
        24313
      ],
      "PRBMathSD59x18__SqrtOverflow": [
        24318
      ],
      "PRBMathUD60x18__AddOverflow": [
        24325
      ],
      "PRBMathUD60x18__CeilOverflow": [
        24330
      ],
      "PRBMathUD60x18__Exp2InputTooBig": [
        24340
      ],
      "PRBMathUD60x18__ExpInputTooBig": [
        24335
      ],
      "PRBMathUD60x18__FromUintOverflow": [
        24345
      ],
      "PRBMathUD60x18__GmOverflow": [
        24352
      ],
      "PRBMathUD60x18__LogInputTooSmall": [
        24357
      ],
      "PRBMathUD60x18__SqrtOverflow": [
        24362
      ],
      "PRBMathUD60x18__SubUnderflow": [
        24369
      ],
      "PRBMath__MulDivFixedPointOverflow": [
        24220
      ],
      "PRBMath__MulDivOverflow": [
        24227
      ],
      "PRBMath__MulDivSignedInputTooSmall": [
        24230
      ],
      "PRBMath__MulDivSignedOverflow": [
        24235
      ],
      "ReentrancyGuard": [
        36669
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:56641:72",
    "nodes": [
      {
        "id": 20153,
        "nodeType": "PragmaDirective",
        "src": "32:22:72",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 20154,
        "nodeType": "ImportDirective",
        "src": "56:52:72",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/access/Ownable.sol",
        "file": "@openzeppelin/contracts/access/Ownable.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 36383,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20155,
        "nodeType": "ImportDirective",
        "src": "109:62:72",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol",
        "file": "@openzeppelin/contracts/security/ReentrancyGuard.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 36670,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20156,
        "nodeType": "ImportDirective",
        "src": "172:56:72",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol",
        "file": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 37691,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20157,
        "nodeType": "ImportDirective",
        "src": "229:47:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/lib/prb-math/contracts/PRBMath.sol",
        "file": "@paulrberg/contracts/math/PRBMath.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 26108,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20158,
        "nodeType": "ImportDirective",
        "src": "277:43:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBController.sol",
        "file": "./../interfaces/IJBController.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 38114,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20159,
        "nodeType": "ImportDirective",
        "src": "321:64:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBPayoutRedemptionPaymentTerminal.sol",
        "file": "./../interfaces/IJBPayoutRedemptionPaymentTerminal.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 23036,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20160,
        "nodeType": "ImportDirective",
        "src": "386:40:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBConstants.sol",
        "file": "./../libraries/JBConstants.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 35766,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20161,
        "nodeType": "ImportDirective",
        "src": "427:41:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBCurrencies.sol",
        "file": "./../libraries/JBCurrencies.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 38212,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20162,
        "nodeType": "ImportDirective",
        "src": "469:47:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBFixedPointNumber.sol",
        "file": "./../libraries/JBFixedPointNumber.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 23402,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20163,
        "nodeType": "ImportDirective",
        "src": "517:59:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBFundingCycleMetadataResolver.sol",
        "file": "./../libraries/JBFundingCycleMetadataResolver.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 23997,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20164,
        "nodeType": "ImportDirective",
        "src": "577:41:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBOperations.sol",
        "file": "./../libraries/JBOperations.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 24138,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20165,
        "nodeType": "ImportDirective",
        "src": "619:43:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBSplitsGroups.sol",
        "file": "./../libraries/JBSplitsGroups.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 24147,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20166,
        "nodeType": "ImportDirective",
        "src": "663:37:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBTokens.sol",
        "file": "./../libraries/JBTokens.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 32020,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20167,
        "nodeType": "ImportDirective",
        "src": "701:40:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/structs/JBTokenAmount.sol",
        "file": "./../structs/JBTokenAmount.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 38508,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20168,
        "nodeType": "ImportDirective",
        "src": "742:28:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/abstract/JBOperatable.sol",
        "file": "./JBOperatable.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 20152,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 20169,
        "nodeType": "ImportDirective",
        "src": "771:44:72",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/abstract/JBSingleTokenPaymentTerminal.sol",
        "file": "./JBSingleTokenPaymentTerminal.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22463,
        "sourceUnit": 22585,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 22462,
        "nodeType": "ContractDefinition",
        "src": "1810:54862:72",
        "nodes": [
          {
            "id": 20184,
            "nodeType": "UsingForDirective",
            "src": "2071:56:72",
            "nodes": [],
            "libraryName": {
              "id": 20181,
              "name": "JBFundingCycleMetadataResolver",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 23996,
              "src": "2077:30:72"
            },
            "typeName": {
              "id": 20183,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 20182,
                "name": "JBFundingCycle",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 35849,
                "src": "2112:14:72"
              },
              "referencedDeclaration": 35849,
              "src": "2112:14:72",
              "typeDescriptions": {
                "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                "typeString": "struct JBFundingCycle"
              }
            }
          },
          {
            "id": 20186,
            "nodeType": "ErrorDefinition",
            "src": "2359:21:72",
            "nodes": [],
            "name": "FEE_TOO_HIGH",
            "nameLocation": "2365:12:72",
            "parameters": {
              "id": 20185,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2377:2:72"
            }
          },
          {
            "id": 20188,
            "nodeType": "ErrorDefinition",
            "src": "2383:39:72",
            "nodes": [],
            "name": "INADEQUATE_DISTRIBUTION_AMOUNT",
            "nameLocation": "2389:30:72",
            "parameters": {
              "id": 20187,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2419:2:72"
            }
          },
          {
            "id": 20190,
            "nodeType": "ErrorDefinition",
            "src": "2425:34:72",
            "nodes": [],
            "name": "INADEQUATE_RECLAIM_AMOUNT",
            "nameLocation": "2431:25:72",
            "parameters": {
              "id": 20189,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2456:2:72"
            }
          },
          {
            "id": 20192,
            "nodeType": "ErrorDefinition",
            "src": "2462:31:72",
            "nodes": [],
            "name": "INADEQUATE_TOKEN_COUNT",
            "nameLocation": "2468:22:72",
            "parameters": {
              "id": 20191,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2490:2:72"
            }
          },
          {
            "id": 20194,
            "nodeType": "ErrorDefinition",
            "src": "2496:29:72",
            "nodes": [],
            "name": "NO_MSG_VALUE_ALLOWED",
            "nameLocation": "2502:20:72",
            "parameters": {
              "id": 20193,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2522:2:72"
            }
          },
          {
            "id": 20196,
            "nodeType": "ErrorDefinition",
            "src": "2528:28:72",
            "nodes": [],
            "name": "PAY_TO_ZERO_ADDRESS",
            "nameLocation": "2534:19:72",
            "parameters": {
              "id": 20195,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2553:2:72"
            }
          },
          {
            "id": 20198,
            "nodeType": "ErrorDefinition",
            "src": "2559:34:72",
            "nodes": [],
            "name": "PROJECT_TERMINAL_MISMATCH",
            "nameLocation": "2565:25:72",
            "parameters": {
              "id": 20197,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2590:2:72"
            }
          },
          {
            "id": 20200,
            "nodeType": "ErrorDefinition",
            "src": "2596:31:72",
            "nodes": [],
            "name": "REDEEM_TO_ZERO_ADDRESS",
            "nameLocation": "2602:22:72",
            "parameters": {
              "id": 20199,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2624:2:72"
            }
          },
          {
            "id": 20202,
            "nodeType": "ErrorDefinition",
            "src": "2630:39:72",
            "nodes": [],
            "name": "TERMINAL_IN_SPLIT_ZERO_ADDRESS",
            "nameLocation": "2636:30:72",
            "parameters": {
              "id": 20201,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2666:2:72"
            }
          },
          {
            "id": 20204,
            "nodeType": "ErrorDefinition",
            "src": "2672:37:72",
            "nodes": [],
            "name": "TERMINAL_TOKENS_INCOMPATIBLE",
            "nameLocation": "2678:28:72",
            "parameters": {
              "id": 20203,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2706:2:72"
            }
          },
          {
            "id": 20221,
            "nodeType": "ModifierDefinition",
            "src": "3048:141:72",
            "nodes": [],
            "body": {
              "id": 20220,
              "nodeType": "Block",
              "src": "3090:99:72",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "id": 20214,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "!",
                    "prefix": true,
                    "src": "3100:41:72",
                    "subExpression": {
                      "arguments": [
                        {
                          "id": 20211,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20207,
                          "src": "3124:10:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 20212,
                          "name": "this",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -28,
                          "src": "3136:4:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                            "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                            "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                          }
                        ],
                        "expression": {
                          "id": 20209,
                          "name": "directory",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20246,
                          "src": "3101:9:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                            "typeString": "contract IJBDirectory"
                          }
                        },
                        "id": 20210,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "isTerminalOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 31880,
                        "src": "3101:22:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_uint256_$_t_contract$_IJBPaymentTerminal_$31994_$returns$_t_bool_$",
                          "typeString": "function (uint256,contract IJBPaymentTerminal) view external returns (bool)"
                        }
                      },
                      "id": 20213,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "3101:40:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 20218,
                  "nodeType": "IfStatement",
                  "src": "3096:81:72",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 20215,
                        "name": "PROJECT_TERMINAL_MISMATCH",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20198,
                        "src": "3150:25:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 20216,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "3150:27:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 20217,
                    "nodeType": "RevertStatement",
                    "src": "3143:34:72"
                  }
                },
                {
                  "id": 20219,
                  "nodeType": "PlaceholderStatement",
                  "src": "3183:1:72"
                }
              ]
            },
            "documentation": {
              "id": 20205,
              "nodeType": "StructuredDocumentation",
              "src": "2942:103:72",
              "text": "@notice \nA modifier that verifies this terminal is a terminal of provided project ID."
            },
            "name": "isTerminalOf",
            "nameLocation": "3057:12:72",
            "parameters": {
              "id": 20208,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20207,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "3078:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20221,
                  "src": "3070:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20206,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3070:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3069:20:72"
            },
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 20225,
            "nodeType": "VariableDeclaration",
            "src": "3571:47:72",
            "nodes": [],
            "constant": true,
            "documentation": {
              "id": 20222,
              "nodeType": "StructuredDocumentation",
              "src": "3422:146:72",
              "text": "@notice\nMaximum fee that can be set for a funding cycle configuration.\n@dev\nOut of MAX_FEE (50_000_000 / 1_000_000_000)."
            },
            "mutability": "constant",
            "name": "_FEE_CAP",
            "nameLocation": "3597:8:72",
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 20223,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "3571:7:72",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "35305f3030305f303030",
              "id": 20224,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "3608:10:72",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_50000000_by_1",
                "typeString": "int_const 50000000"
              },
              "value": "50_000_000"
            },
            "visibility": "internal"
          },
          {
            "id": 20229,
            "nodeType": "VariableDeclaration",
            "src": "3754:50:72",
            "nodes": [],
            "constant": true,
            "documentation": {
              "id": 20226,
              "nodeType": "StructuredDocumentation",
              "src": "3623:128:72",
              "text": "@notice\nThe protocol project ID is 1, as it should be the first project launched during the deployment process."
            },
            "mutability": "constant",
            "name": "_PROTOCOL_PROJECT_ID",
            "nameLocation": "3780:20:72",
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 20227,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "3754:7:72",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "31",
              "id": 20228,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "3803:1:72",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_1_by_1",
                "typeString": "int_const 1"
              },
              "value": "1"
            },
            "visibility": "internal"
          },
          {
            "id": 20236,
            "nodeType": "VariableDeclaration",
            "src": "4182:48:72",
            "nodes": [],
            "constant": false,
            "documentation": {
              "id": 20230,
              "nodeType": "StructuredDocumentation",
              "src": "4038:141:72",
              "text": "@notice\nFees that are being held to be processed later.\n_projectId The ID of the project for which fees are being held."
            },
            "mutability": "mutable",
            "name": "_heldFeesOf",
            "nameLocation": "4219:11:72",
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
              "typeString": "mapping(uint256 => struct JBFee[])"
            },
            "typeName": {
              "id": 20235,
              "keyType": {
                "id": 20231,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "4190:7:72",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "4182:27:72",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                "typeString": "mapping(uint256 => struct JBFee[])"
              },
              "valueType": {
                "baseType": {
                  "id": 20233,
                  "nodeType": "UserDefinedTypeName",
                  "pathNode": {
                    "id": 20232,
                    "name": "JBFee",
                    "nodeType": "IdentifierPath",
                    "referencedDeclaration": 24157,
                    "src": "4201:5:72"
                  },
                  "referencedDeclaration": 24157,
                  "src": "4201:5:72",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBFee_$24157_storage_ptr",
                    "typeString": "struct JBFee"
                  }
                },
                "id": 20234,
                "nodeType": "ArrayTypeName",
                "src": "4201:7:72",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr",
                  "typeString": "struct JBFee[]"
                }
              }
            },
            "visibility": "internal"
          },
          {
            "id": 20241,
            "nodeType": "VariableDeclaration",
            "src": "4555:46:72",
            "nodes": [],
            "baseFunctions": [
              22940
            ],
            "constant": false,
            "documentation": {
              "id": 20237,
              "nodeType": "StructuredDocumentation",
              "src": "4464:88:72",
              "text": "@notice\nMints ERC-721's that represent project ownership and transfers."
            },
            "functionSelector": "8b79543c",
            "mutability": "immutable",
            "name": "projects",
            "nameLocation": "4593:8:72",
            "overrides": {
              "id": 20240,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "4584:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBProjects_$38202",
              "typeString": "contract IJBProjects"
            },
            "typeName": {
              "id": 20239,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 20238,
                "name": "IJBProjects",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 38202,
                "src": "4555:11:72"
              },
              "referencedDeclaration": 38202,
              "src": "4555:11:72",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBProjects_$38202",
                "typeString": "contract IJBProjects"
              }
            },
            "visibility": "public"
          },
          {
            "id": 20246,
            "nodeType": "VariableDeclaration",
            "src": "4690:48:72",
            "nodes": [],
            "baseFunctions": [
              22952
            ],
            "constant": false,
            "documentation": {
              "id": 20242,
              "nodeType": "StructuredDocumentation",
              "src": "4606:81:72",
              "text": "@notice\nThe directory of terminals and controllers for projects."
            },
            "functionSelector": "c41c2f24",
            "mutability": "immutable",
            "name": "directory",
            "nameLocation": "4729:9:72",
            "overrides": {
              "id": 20245,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "4720:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBDirectory_$31924",
              "typeString": "contract IJBDirectory"
            },
            "typeName": {
              "id": 20244,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 20243,
                "name": "IJBDirectory",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 31924,
                "src": "4690:12:72"
              },
              "referencedDeclaration": 31924,
              "src": "4690:12:72",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                "typeString": "contract IJBDirectory"
              }
            },
            "visibility": "public"
          },
          {
            "id": 20251,
            "nodeType": "VariableDeclaration",
            "src": "4820:52:72",
            "nodes": [],
            "baseFunctions": [
              22946
            ],
            "constant": false,
            "documentation": {
              "id": 20247,
              "nodeType": "StructuredDocumentation",
              "src": "4743:74:72",
              "text": "@notice\nThe contract that stores splits for each project."
            },
            "functionSelector": "2bdfe004",
            "mutability": "immutable",
            "name": "splitsStore",
            "nameLocation": "4861:11:72",
            "overrides": {
              "id": 20250,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "4852:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBSplitsStore_$38267",
              "typeString": "contract IJBSplitsStore"
            },
            "typeName": {
              "id": 20249,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 20248,
                "name": "IJBSplitsStore",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 38267,
                "src": "4820:14:72"
              },
              "referencedDeclaration": 38267,
              "src": "4820:14:72",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBSplitsStore_$38267",
                "typeString": "contract IJBSplitsStore"
              }
            },
            "visibility": "public"
          },
          {
            "id": 20256,
            "nodeType": "VariableDeclaration",
            "src": "4943:42:72",
            "nodes": [],
            "baseFunctions": [
              22958
            ],
            "constant": false,
            "documentation": {
              "id": 20252,
              "nodeType": "StructuredDocumentation",
              "src": "4877:63:72",
              "text": "@notice\nThe contract that exposes price feeds."
            },
            "functionSelector": "d3419bf3",
            "mutability": "immutable",
            "name": "prices",
            "nameLocation": "4979:6:72",
            "overrides": {
              "id": 20255,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "4970:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBPrices_$23109",
              "typeString": "contract IJBPrices"
            },
            "typeName": {
              "id": 20254,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 20253,
                "name": "IJBPrices",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 23109,
                "src": "4943:9:72"
              },
              "referencedDeclaration": 23109,
              "src": "4943:9:72",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBPrices_$23109",
                "typeString": "contract IJBPrices"
              }
            },
            "visibility": "public"
          },
          {
            "id": 20261,
            "nodeType": "VariableDeclaration",
            "src": "5075:66:72",
            "nodes": [],
            "baseFunctions": [
              22964
            ],
            "constant": false,
            "documentation": {
              "id": 20257,
              "nodeType": "StructuredDocumentation",
              "src": "4990:82:72",
              "text": "@notice\nThe contract that stores and manages the terminal's data."
            },
            "functionSelector": "975057e7",
            "mutability": "immutable",
            "name": "store",
            "nameLocation": "5136:5:72",
            "overrides": {
              "id": 20260,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5127:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
              "typeString": "contract IJBSingleTokenPaymentTerminalStore"
            },
            "typeName": {
              "id": 20259,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 20258,
                "name": "IJBSingleTokenPaymentTerminalStore",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 23358,
                "src": "5075:34:72"
              },
              "referencedDeclaration": 23358,
              "src": "5075:34:72",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                "typeString": "contract IJBSingleTokenPaymentTerminalStore"
              }
            },
            "visibility": "public"
          },
          {
            "id": 20265,
            "nodeType": "VariableDeclaration",
            "src": "5344:52:72",
            "nodes": [],
            "baseFunctions": [
              22969
            ],
            "constant": false,
            "documentation": {
              "id": 20262,
              "nodeType": "StructuredDocumentation",
              "src": "5146:195:72",
              "text": "@notice\nThe currency to base token issuance on.\n@dev\nIf this differs from `currency`, there must be a price feed available to convert `currency` to `baseWeightCurrency`."
            },
            "functionSelector": "2d1a5903",
            "mutability": "immutable",
            "name": "baseWeightCurrency",
            "nameLocation": "5378:18:72",
            "overrides": {
              "id": 20264,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5369:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 20263,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "5344:7:72",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "visibility": "public"
          },
          {
            "id": 20269,
            "nodeType": "VariableDeclaration",
            "src": "5502:51:72",
            "nodes": [],
            "baseFunctions": [
              22974
            ],
            "constant": false,
            "documentation": {
              "id": 20266,
              "nodeType": "StructuredDocumentation",
              "src": "5401:98:72",
              "text": "@notice\nThe group that payout splits coming from this terminal are identified by."
            },
            "functionSelector": "66248b86",
            "mutability": "immutable",
            "name": "payoutSplitsGroup",
            "nameLocation": "5536:17:72",
            "overrides": {
              "id": 20268,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5527:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 20267,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "5502:7:72",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "visibility": "public"
          },
          {
            "id": 20274,
            "nodeType": "VariableDeclaration",
            "src": "5898:40:72",
            "nodes": [],
            "baseFunctions": [
              22988
            ],
            "constant": false,
            "documentation": {
              "id": 20270,
              "nodeType": "StructuredDocumentation",
              "src": "5787:108:72",
              "text": "@notice\nThe platform fee percent.\n@dev\nOut of MAX_FEE (25_000_000 / 1_000_000_000)"
            },
            "functionSelector": "ddca3f43",
            "mutability": "mutable",
            "name": "fee",
            "nameLocation": "5922:3:72",
            "overrides": {
              "id": 20272,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5913:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 20271,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "5898:7:72",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "32355f3030305f303030",
              "id": 20273,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "5928:10:72",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_25000000_by_1",
                "typeString": "int_const 25000000"
              },
              "value": "25_000_000"
            },
            "visibility": "public"
          },
          {
            "id": 20279,
            "nodeType": "VariableDeclaration",
            "src": "6047:36:72",
            "nodes": [],
            "baseFunctions": [
              22994
            ],
            "constant": false,
            "documentation": {
              "id": 20275,
              "nodeType": "StructuredDocumentation",
              "src": "5951:93:72",
              "text": "@notice\nThe data source that returns a discount to apply to a project's fee."
            },
            "functionSelector": "d6dacc53",
            "mutability": "mutable",
            "name": "feeGauge",
            "nameLocation": "6075:8:72",
            "overrides": {
              "id": 20278,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "6066:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
              "typeString": "contract IJBFeeGauge"
            },
            "typeName": {
              "id": 20277,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 20276,
                "name": "IJBFeeGauge",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 22626,
                "src": "6047:11:72"
              },
              "referencedDeclaration": 22626,
              "src": "6047:11:72",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                "typeString": "contract IJBFeeGauge"
              }
            },
            "visibility": "public"
          },
          {
            "id": 20285,
            "nodeType": "VariableDeclaration",
            "src": "6245:57:72",
            "nodes": [],
            "baseFunctions": [
              23001
            ],
            "constant": false,
            "documentation": {
              "id": 20280,
              "nodeType": "StructuredDocumentation",
              "src": "6088:154:72",
              "text": "@notice\nAddresses that can be paid towards from this terminal without incurring a fee.\n_address The address that can be paid toward."
            },
            "functionSelector": "b631b500",
            "mutability": "mutable",
            "name": "isFeelessAddress",
            "nameLocation": "6286:16:72",
            "overrides": {
              "id": 20284,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "6277:8:72"
            },
            "scope": 22462,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
              "typeString": "mapping(address => bool)"
            },
            "typeName": {
              "id": 20283,
              "keyType": {
                "id": 20281,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "6253:7:72",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "6245:24:72",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                "typeString": "mapping(address => bool)"
              },
              "valueType": {
                "id": 20282,
                "name": "bool",
                "nodeType": "ElementaryTypeName",
                "src": "6264:4:72",
                "typeDescriptions": {
                  "typeIdentifier": "t_bool",
                  "typeString": "bool"
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 20340,
            "nodeType": "FunctionDefinition",
            "src": "6940:732:72",
            "nodes": [],
            "body": {
              "id": 20339,
              "nodeType": "Block",
              "src": "7061:611:72",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    20295
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 20295,
                      "mutability": "mutable",
                      "name": "_overflow",
                      "nameLocation": "7120:9:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 20339,
                      "src": "7112:17:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 20294,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "7112:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 20301,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 20298,
                        "name": "this",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": -28,
                        "src": "7156:4:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                          "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                        }
                      },
                      {
                        "id": 20299,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20288,
                        "src": "7162:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                          "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 20296,
                        "name": "store",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20261,
                        "src": "7132:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                          "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                        }
                      },
                      "id": 20297,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "currentOverflowOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23226,
                      "src": "7132:23:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (contract IJBSingleTokenPaymentTerminal,uint256) view external returns (uint256)"
                      }
                    },
                    "id": 20300,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "7132:41:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7112:61:72"
                },
                {
                  "assignments": [
                    20303
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 20303,
                      "mutability": "mutable",
                      "name": "_adjustedOverflow",
                      "nameLocation": "7272:17:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 20339,
                      "src": "7264:25:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 20302,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "7264:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 20316,
                  "initialValue": {
                    "condition": {
                      "components": [
                        {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 20306,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 20304,
                            "name": "decimals",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22479,
                            "src": "7293:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "hexValue": "3138",
                            "id": 20305,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "7305:2:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_18_by_1",
                              "typeString": "int_const 18"
                            },
                            "value": "18"
                          },
                          "src": "7293:14:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        }
                      ],
                      "id": 20307,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "7292:16:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "arguments": [
                        {
                          "id": 20311,
                          "name": "_overflow",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20295,
                          "src": "7369:9:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 20312,
                          "name": "decimals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22479,
                          "src": "7380:8:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "hexValue": "3138",
                          "id": 20313,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "7390:2:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_18_by_1",
                            "typeString": "int_const 18"
                          },
                          "value": "18"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_rational_18_by_1",
                            "typeString": "int_const 18"
                          }
                        ],
                        "expression": {
                          "id": 20309,
                          "name": "JBFixedPointNumber",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23401,
                          "src": "7335:18:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_JBFixedPointNumber_$23401_$",
                            "typeString": "type(library JBFixedPointNumber)"
                          }
                        },
                        "id": 20310,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "adjustDecimals",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 23400,
                        "src": "7335:33:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 20314,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "7335:58:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 20315,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "7292:101:72",
                    "trueExpression": {
                      "id": 20308,
                      "name": "_overflow",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20295,
                      "src": "7317:9:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7264:129:72"
                },
                {
                  "expression": {
                    "condition": {
                      "components": [
                        {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 20320,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 20317,
                            "name": "currency",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22483,
                            "src": "7457:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "expression": {
                              "id": 20318,
                              "name": "JBCurrencies",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 38211,
                              "src": "7469:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_JBCurrencies_$38211_$",
                                "typeString": "type(library JBCurrencies)"
                              }
                            },
                            "id": 20319,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "ETH",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 38207,
                            "src": "7469:16:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "7457:28:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        }
                      ],
                      "id": 20321,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "7456:30:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "arguments": [
                        {
                          "id": 20325,
                          "name": "_adjustedOverflow",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20303,
                          "src": "7551:17:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 20328,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "hexValue": "3130",
                            "id": 20326,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "7580:2:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_10_by_1",
                              "typeString": "int_const 10"
                            },
                            "value": "10"
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "**",
                          "rightExpression": {
                            "id": 20327,
                            "name": "decimals",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22479,
                            "src": "7584:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "7580:12:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "arguments": [
                            {
                              "id": 20331,
                              "name": "currency",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22483,
                              "src": "7620:8:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "id": 20332,
                                "name": "JBCurrencies",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 38211,
                                "src": "7630:12:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_JBCurrencies_$38211_$",
                                  "typeString": "type(library JBCurrencies)"
                                }
                              },
                              "id": 20333,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "ETH",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 38207,
                              "src": "7630:16:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 20334,
                              "name": "decimals",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22479,
                              "src": "7648:8:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 20329,
                              "name": "prices",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20256,
                              "src": "7604:6:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBPrices_$23109",
                                "typeString": "contract IJBPrices"
                              }
                            },
                            "id": 20330,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "priceFor",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 23098,
                            "src": "7604:15:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256,uint256) view external returns (uint256)"
                            }
                          },
                          "id": 20335,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "7604:53:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 20323,
                          "name": "PRBMath",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26107,
                          "src": "7525:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                            "typeString": "type(library PRBMath)"
                          }
                        },
                        "id": 20324,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mulDiv",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 25696,
                        "src": "7525:14:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 20336,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "7525:142:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 20337,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "7456:211:72",
                    "trueExpression": {
                      "id": 20322,
                      "name": "_adjustedOverflow",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20303,
                      "src": "7497:17:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 20293,
                  "id": 20338,
                  "nodeType": "Return",
                  "src": "7443:224:72"
                }
              ]
            },
            "baseFunctions": [
              31959
            ],
            "documentation": {
              "id": 20286,
              "nodeType": "StructuredDocumentation",
              "src": "6536:401:72",
              "text": "@notice\nGets the current overflowed amount in this terminal for a specified project, in terms of ETH.\n@dev\nThe current overflow is represented as a fixed point number with 18 decimals.\n@param _projectId The ID of the project to get overflow for.\n@return The current amount of ETH overflow that project has in this terminal, as a fixed point number with 18 decimals."
            },
            "functionSelector": "a32e1e96",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "currentEthOverflowOf",
            "nameLocation": "6949:20:72",
            "overrides": {
              "id": 20290,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "7028:8:72"
            },
            "parameters": {
              "id": 20289,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20288,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "6978:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20340,
                  "src": "6970:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20287,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6970:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6969:20:72"
            },
            "returnParameters": {
              "id": 20293,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20292,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 20340,
                  "src": "7050:7:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20291,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7050:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7049:9:72"
            },
            "scope": 22462,
            "stateMutability": "view",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20356,
            "nodeType": "FunctionDefinition",
            "src": "7909:129:72",
            "nodes": [],
            "body": {
              "id": 20355,
              "nodeType": "Block",
              "src": "7997:41:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "baseExpression": {
                      "id": 20351,
                      "name": "_heldFeesOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20236,
                      "src": "8010:11:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                        "typeString": "mapping(uint256 => struct JBFee storage ref[] storage ref)"
                      }
                    },
                    "id": 20353,
                    "indexExpression": {
                      "id": 20352,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20343,
                      "src": "8022:10:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "8010:23:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage",
                      "typeString": "struct JBFee storage ref[] storage ref"
                    }
                  },
                  "functionReturnParameters": 20350,
                  "id": 20354,
                  "nodeType": "Return",
                  "src": "8003:30:72"
                }
              ]
            },
            "baseFunctions": [
              22983
            ],
            "documentation": {
              "id": 20341,
              "nodeType": "StructuredDocumentation",
              "src": "7676:230:72",
              "text": "@notice\nThe fees that are currently being held to be processed later for each project.\n@param _projectId The ID of the project for which fees are being held.\n@return An array of fees that are being held."
            },
            "functionSelector": "8af56094",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "heldFeesOf",
            "nameLocation": "7918:10:72",
            "overrides": {
              "id": 20345,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "7963:8:72"
            },
            "parameters": {
              "id": 20344,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20343,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "7937:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20356,
                  "src": "7929:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20342,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7929:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7928:20:72"
            },
            "returnParameters": {
              "id": 20350,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20349,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 20356,
                  "src": "7981:14:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                    "typeString": "struct JBFee[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 20347,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 20346,
                        "name": "JBFee",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 24157,
                        "src": "7981:5:72"
                      },
                      "referencedDeclaration": 24157,
                      "src": "7981:5:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFee_$24157_storage_ptr",
                        "typeString": "struct JBFee"
                      }
                    },
                    "id": 20348,
                    "nodeType": "ArrayTypeName",
                    "src": "7981:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr",
                      "typeString": "struct JBFee[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7980:16:72"
            },
            "scope": 22462,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 20408,
            "nodeType": "FunctionDefinition",
            "src": "8485:539:72",
            "nodes": [],
            "body": {
              "id": 20407,
              "nodeType": "Block",
              "src": "8638:386:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 20405,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "id": 20400,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "commonType": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        "id": 20393,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "commonType": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "id": 20386,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "commonType": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            },
                            "id": 20379,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "commonType": {
                                "typeIdentifier": "t_bytes4",
                                "typeString": "bytes4"
                              },
                              "id": 20372,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 20367,
                                "name": "_interfaceId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 20359,
                                "src": "8657:12:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes4",
                                  "typeString": "bytes4"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "expression": {
                                  "arguments": [
                                    {
                                      "id": 20369,
                                      "name": "IJBPayoutRedemptionPaymentTerminal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 23035,
                                      "src": "8678:34:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_IJBPayoutRedemptionPaymentTerminal_$23035_$",
                                        "typeString": "type(contract IJBPayoutRedemptionPaymentTerminal)"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_type$_t_contract$_IJBPayoutRedemptionPaymentTerminal_$23035_$",
                                        "typeString": "type(contract IJBPayoutRedemptionPaymentTerminal)"
                                      }
                                    ],
                                    "id": 20368,
                                    "name": "type",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": -27,
                                    "src": "8673:4:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                      "typeString": "function () pure"
                                    }
                                  },
                                  "id": 20370,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8673:40:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_meta_type_t_contract$_IJBPayoutRedemptionPaymentTerminal_$23035",
                                    "typeString": "type(contract IJBPayoutRedemptionPaymentTerminal)"
                                  }
                                },
                                "id": 20371,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "memberName": "interfaceId",
                                "nodeType": "MemberAccess",
                                "src": "8673:52:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes4",
                                  "typeString": "bytes4"
                                }
                              },
                              "src": "8657:68:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "||",
                            "rightExpression": {
                              "commonType": {
                                "typeIdentifier": "t_bytes4",
                                "typeString": "bytes4"
                              },
                              "id": 20378,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 20373,
                                "name": "_interfaceId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 20359,
                                "src": "8735:12:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes4",
                                  "typeString": "bytes4"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "expression": {
                                  "arguments": [
                                    {
                                      "id": 20375,
                                      "name": "IJBPayoutTerminal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 23055,
                                      "src": "8756:17:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_IJBPayoutTerminal_$23055_$",
                                        "typeString": "type(contract IJBPayoutTerminal)"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_type$_t_contract$_IJBPayoutTerminal_$23055_$",
                                        "typeString": "type(contract IJBPayoutTerminal)"
                                      }
                                    ],
                                    "id": 20374,
                                    "name": "type",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": -27,
                                    "src": "8751:4:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                      "typeString": "function () pure"
                                    }
                                  },
                                  "id": 20376,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8751:23:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_meta_type_t_contract$_IJBPayoutTerminal_$23055",
                                    "typeString": "type(contract IJBPayoutTerminal)"
                                  }
                                },
                                "id": 20377,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "memberName": "interfaceId",
                                "nodeType": "MemberAccess",
                                "src": "8751:35:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes4",
                                  "typeString": "bytes4"
                                }
                              },
                              "src": "8735:51:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "src": "8657:129:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "||",
                          "rightExpression": {
                            "commonType": {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            },
                            "id": 20385,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 20380,
                              "name": "_interfaceId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20359,
                              "src": "8796:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes4",
                                "typeString": "bytes4"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "expression": {
                                "arguments": [
                                  {
                                    "id": 20382,
                                    "name": "IJBAllowanceTerminal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 22606,
                                    "src": "8817:20:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_IJBAllowanceTerminal_$22606_$",
                                      "typeString": "type(contract IJBAllowanceTerminal)"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_type$_t_contract$_IJBAllowanceTerminal_$22606_$",
                                      "typeString": "type(contract IJBAllowanceTerminal)"
                                    }
                                  ],
                                  "id": 20381,
                                  "name": "type",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -27,
                                  "src": "8812:4:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                    "typeString": "function () pure"
                                  }
                                },
                                "id": 20383,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "8812:26:72",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_meta_type_t_contract$_IJBAllowanceTerminal_$22606",
                                  "typeString": "type(contract IJBAllowanceTerminal)"
                                }
                              },
                              "id": 20384,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "memberName": "interfaceId",
                              "nodeType": "MemberAccess",
                              "src": "8812:38:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes4",
                                "typeString": "bytes4"
                              }
                            },
                            "src": "8796:54:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "src": "8657:193:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "||",
                        "rightExpression": {
                          "commonType": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          },
                          "id": 20392,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 20387,
                            "name": "_interfaceId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20359,
                            "src": "8860:12:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 20389,
                                  "name": "IJBRedemptionTerminal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 23133,
                                  "src": "8881:21:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_IJBRedemptionTerminal_$23133_$",
                                    "typeString": "type(contract IJBRedemptionTerminal)"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_type$_t_contract$_IJBRedemptionTerminal_$23133_$",
                                    "typeString": "type(contract IJBRedemptionTerminal)"
                                  }
                                ],
                                "id": 20388,
                                "name": "type",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -27,
                                "src": "8876:4:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                  "typeString": "function () pure"
                                }
                              },
                              "id": 20390,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "8876:27:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_meta_type_t_contract$_IJBRedemptionTerminal_$23133",
                                "typeString": "type(contract IJBRedemptionTerminal)"
                              }
                            },
                            "id": 20391,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "memberName": "interfaceId",
                            "nodeType": "MemberAccess",
                            "src": "8876:39:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            }
                          },
                          "src": "8860:55:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "src": "8657:258:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "||",
                      "rightExpression": {
                        "commonType": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        },
                        "id": 20399,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 20394,
                          "name": "_interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20359,
                          "src": "8925:12:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "expression": {
                            "arguments": [
                              {
                                "id": 20396,
                                "name": "IJBOperatable",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22636,
                                "src": "8946:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_IJBOperatable_$22636_$",
                                  "typeString": "type(contract IJBOperatable)"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_type$_t_contract$_IJBOperatable_$22636_$",
                                  "typeString": "type(contract IJBOperatable)"
                                }
                              ],
                              "id": 20395,
                              "name": "type",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -27,
                              "src": "8941:4:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                "typeString": "function () pure"
                              }
                            },
                            "id": 20397,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "8941:19:72",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_meta_type_t_contract$_IJBOperatable_$22636",
                              "typeString": "type(contract IJBOperatable)"
                            }
                          },
                          "id": 20398,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberName": "interfaceId",
                          "nodeType": "MemberAccess",
                          "src": "8941:31:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        },
                        "src": "8925:47:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "src": "8657:315:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 20403,
                          "name": "_interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20359,
                          "src": "9006:12:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        ],
                        "expression": {
                          "id": 20401,
                          "name": "super",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -25,
                          "src": "8982:5:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_super$_JBPayoutRedemptionPaymentTerminal_$22462_$",
                            "typeString": "type(contract super JBPayoutRedemptionPaymentTerminal)"
                          }
                        },
                        "id": 20402,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "supportsInterface",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22560,
                        "src": "8982:23:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$",
                          "typeString": "function (bytes4) view returns (bool)"
                        }
                      },
                      "id": 20404,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "8982:37:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "8657:362:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 20366,
                  "id": 20406,
                  "nodeType": "Return",
                  "src": "8644:375:72"
                }
              ]
            },
            "baseFunctions": [
              22560,
              38867
            ],
            "documentation": {
              "id": 20357,
              "nodeType": "StructuredDocumentation",
              "src": "8271:211:72",
              "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": "8494:17:72",
            "overrides": {
              "id": 20363,
              "nodeType": "OverrideSpecifier",
              "overrides": [
                {
                  "id": 20361,
                  "name": "JBSingleTokenPaymentTerminal",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 22584,
                  "src": "8578:28:72"
                },
                {
                  "id": 20362,
                  "name": "IERC165",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 38868,
                  "src": "8608:7:72"
                }
              ],
              "src": "8569:47:72"
            },
            "parameters": {
              "id": 20360,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20359,
                  "mutability": "mutable",
                  "name": "_interfaceId",
                  "nameLocation": "8519:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20408,
                  "src": "8512:19:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 20358,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "8512:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8511:21:72"
            },
            "returnParameters": {
              "id": 20366,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20365,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 20408,
                  "src": "8630:4:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 20364,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "8630:4:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8629:6:72"
            },
            "scope": 22462,
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "id": 20483,
            "nodeType": "FunctionDefinition",
            "src": "10205:795:72",
            "nodes": [],
            "body": {
              "id": 20482,
              "nodeType": "Block",
              "src": "10745:255:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 20452,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20450,
                      "name": "baseWeightCurrency",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20265,
                      "src": "10751:18:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20451,
                      "name": "_baseWeightCurrency",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20417,
                      "src": "10772:19:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "10751:40:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 20453,
                  "nodeType": "ExpressionStatement",
                  "src": "10751:40:72"
                },
                {
                  "expression": {
                    "id": 20456,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20454,
                      "name": "payoutSplitsGroup",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20269,
                      "src": "10797:17:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20455,
                      "name": "_payoutSplitsGroup",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20419,
                      "src": "10817:18:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "10797:38:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 20457,
                  "nodeType": "ExpressionStatement",
                  "src": "10797:38:72"
                },
                {
                  "expression": {
                    "id": 20460,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20458,
                      "name": "projects",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20241,
                      "src": "10841:8:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBProjects_$38202",
                        "typeString": "contract IJBProjects"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20459,
                      "name": "_projects",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20425,
                      "src": "10852:9:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBProjects_$38202",
                        "typeString": "contract IJBProjects"
                      }
                    },
                    "src": "10841:20:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBProjects_$38202",
                      "typeString": "contract IJBProjects"
                    }
                  },
                  "id": 20461,
                  "nodeType": "ExpressionStatement",
                  "src": "10841:20:72"
                },
                {
                  "expression": {
                    "id": 20464,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20462,
                      "name": "directory",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20246,
                      "src": "10867:9:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                        "typeString": "contract IJBDirectory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20463,
                      "name": "_directory",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20428,
                      "src": "10879:10:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                        "typeString": "contract IJBDirectory"
                      }
                    },
                    "src": "10867:22:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                      "typeString": "contract IJBDirectory"
                    }
                  },
                  "id": 20465,
                  "nodeType": "ExpressionStatement",
                  "src": "10867:22:72"
                },
                {
                  "expression": {
                    "id": 20468,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20466,
                      "name": "splitsStore",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20251,
                      "src": "10895:11:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBSplitsStore_$38267",
                        "typeString": "contract IJBSplitsStore"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20467,
                      "name": "_splitsStore",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20431,
                      "src": "10909:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBSplitsStore_$38267",
                        "typeString": "contract IJBSplitsStore"
                      }
                    },
                    "src": "10895:26:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBSplitsStore_$38267",
                      "typeString": "contract IJBSplitsStore"
                    }
                  },
                  "id": 20469,
                  "nodeType": "ExpressionStatement",
                  "src": "10895:26:72"
                },
                {
                  "expression": {
                    "id": 20472,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20470,
                      "name": "prices",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20256,
                      "src": "10927:6:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPrices_$23109",
                        "typeString": "contract IJBPrices"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20471,
                      "name": "_prices",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20434,
                      "src": "10936:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPrices_$23109",
                        "typeString": "contract IJBPrices"
                      }
                    },
                    "src": "10927:16:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPrices_$23109",
                      "typeString": "contract IJBPrices"
                    }
                  },
                  "id": 20473,
                  "nodeType": "ExpressionStatement",
                  "src": "10927:16:72"
                },
                {
                  "expression": {
                    "id": 20476,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20474,
                      "name": "store",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20261,
                      "src": "10949:5:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                        "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20475,
                      "name": "_store",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20437,
                      "src": "10957:6:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                        "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                      }
                    },
                    "src": "10949:14:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                      "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                    }
                  },
                  "id": 20477,
                  "nodeType": "ExpressionStatement",
                  "src": "10949:14:72"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 20479,
                        "name": "_owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20439,
                        "src": "10988:6:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 20478,
                      "name": "transferOwnership",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36361,
                      "src": "10970:17:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 20480,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10970:25:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 20481,
                  "nodeType": "ExpressionStatement",
                  "src": "10970:25:72"
                }
              ]
            },
            "documentation": {
              "id": 20409,
              "nodeType": "StructuredDocumentation",
              "src": "9257:945:72",
              "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.\n@param _baseWeightCurrency The currency to base token issuance on.\n@param _payoutSplitsGroup The group that denotes payout splits from this terminal in the splits store.\n@param _operatorStore A contract storing operator assignments.\n@param _projects A contract which mints ERC-721's that represent project ownership and transfers.\n@param _directory A contract storing directories of terminals and controllers for each project.\n@param _splitsStore A contract that stores splits for each project.\n@param _prices A contract that exposes price feeds.\n@param _store A contract that stores the terminal's data.\n@param _owner The address that will own this contract."
            },
            "implemented": true,
            "kind": "constructor",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 20442,
                    "name": "_token",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20411,
                    "src": "10680:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 20443,
                    "name": "_decimals",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20413,
                    "src": "10688:9:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "id": 20444,
                    "name": "_currency",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20415,
                    "src": "10699:9:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 20445,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 20441,
                  "name": "JBSingleTokenPaymentTerminal",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 22584,
                  "src": "10651:28:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "10651:58:72"
              },
              {
                "arguments": [
                  {
                    "id": 20447,
                    "name": "_operatorStore",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20422,
                    "src": "10727:14:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBOperatorStore_$22704",
                      "typeString": "contract IJBOperatorStore"
                    }
                  }
                ],
                "id": 20448,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 20446,
                  "name": "JBOperatable",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 20151,
                  "src": "10714:12:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "10714:28:72"
              }
            ],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "parameters": {
              "id": 20440,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20411,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "10297:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10289:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20410,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "10289:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20413,
                  "mutability": "mutable",
                  "name": "_decimals",
                  "nameLocation": "10317:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10309:17:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20412,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10309:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20415,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "10340:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10332:17:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20414,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10332:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20417,
                  "mutability": "mutable",
                  "name": "_baseWeightCurrency",
                  "nameLocation": "10363:19:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10355:27:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20416,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10355:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20419,
                  "mutability": "mutable",
                  "name": "_payoutSplitsGroup",
                  "nameLocation": "10396:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10388:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20418,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10388:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20422,
                  "mutability": "mutable",
                  "name": "_operatorStore",
                  "nameLocation": "10437:14:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10420:31:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBOperatorStore_$22704",
                    "typeString": "contract IJBOperatorStore"
                  },
                  "typeName": {
                    "id": 20421,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 20420,
                      "name": "IJBOperatorStore",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22704,
                      "src": "10420:16:72"
                    },
                    "referencedDeclaration": 22704,
                    "src": "10420:16:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBOperatorStore_$22704",
                      "typeString": "contract IJBOperatorStore"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20425,
                  "mutability": "mutable",
                  "name": "_projects",
                  "nameLocation": "10469:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10457:21:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBProjects_$38202",
                    "typeString": "contract IJBProjects"
                  },
                  "typeName": {
                    "id": 20424,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 20423,
                      "name": "IJBProjects",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 38202,
                      "src": "10457:11:72"
                    },
                    "referencedDeclaration": 38202,
                    "src": "10457:11:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBProjects_$38202",
                      "typeString": "contract IJBProjects"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20428,
                  "mutability": "mutable",
                  "name": "_directory",
                  "nameLocation": "10497:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10484:23:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                    "typeString": "contract IJBDirectory"
                  },
                  "typeName": {
                    "id": 20427,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 20426,
                      "name": "IJBDirectory",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 31924,
                      "src": "10484:12:72"
                    },
                    "referencedDeclaration": 31924,
                    "src": "10484:12:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                      "typeString": "contract IJBDirectory"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20431,
                  "mutability": "mutable",
                  "name": "_splitsStore",
                  "nameLocation": "10528:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10513:27:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBSplitsStore_$38267",
                    "typeString": "contract IJBSplitsStore"
                  },
                  "typeName": {
                    "id": 20430,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 20429,
                      "name": "IJBSplitsStore",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 38267,
                      "src": "10513:14:72"
                    },
                    "referencedDeclaration": 38267,
                    "src": "10513:14:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBSplitsStore_$38267",
                      "typeString": "contract IJBSplitsStore"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20434,
                  "mutability": "mutable",
                  "name": "_prices",
                  "nameLocation": "10556:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10546:17:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPrices_$23109",
                    "typeString": "contract IJBPrices"
                  },
                  "typeName": {
                    "id": 20433,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 20432,
                      "name": "IJBPrices",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23109,
                      "src": "10546:9:72"
                    },
                    "referencedDeclaration": 23109,
                    "src": "10546:9:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPrices_$23109",
                      "typeString": "contract IJBPrices"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20437,
                  "mutability": "mutable",
                  "name": "_store",
                  "nameLocation": "10604:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10569:41:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                    "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                  },
                  "typeName": {
                    "id": 20436,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 20435,
                      "name": "IJBSingleTokenPaymentTerminalStore",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23358,
                      "src": "10569:34:72"
                    },
                    "referencedDeclaration": 23358,
                    "src": "10569:34:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                      "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20439,
                  "mutability": "mutable",
                  "name": "_owner",
                  "nameLocation": "10624:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20483,
                  "src": "10616:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20438,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "10616:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10216:418:72"
            },
            "returnParameters": {
              "id": 20449,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "10745:0:72"
            },
            "scope": 22462,
            "stateMutability": "payable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 20556,
            "nodeType": "FunctionDefinition",
            "src": "12664:975:72",
            "nodes": [],
            "body": {
              "id": 20555,
              "nodeType": "Block",
              "src": "12969:670:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 20509,
                    "name": "_token",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20490,
                    "src": "12975:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 20510,
                  "nodeType": "ExpressionStatement",
                  "src": "12975:6:72"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 20514,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 20511,
                      "name": "token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22475,
                      "src": "13113:5:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "expression": {
                        "id": 20512,
                        "name": "JBTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 32019,
                        "src": "13122:8:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_JBTokens_$32019_$",
                          "typeString": "type(library JBTokens)"
                        }
                      },
                      "id": 20513,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ETH",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 32018,
                      "src": "13122:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "13113:21:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "expression": {
                      "id": 20540,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 20537,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20488,
                        "src": "13412:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "expression": {
                          "id": 20538,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "13422:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 20539,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "value",
                        "nodeType": "MemberAccess",
                        "src": "13422:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "13412:19:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 20541,
                    "nodeType": "ExpressionStatement",
                    "src": "13412:19:72"
                  },
                  "id": 20542,
                  "nodeType": "IfStatement",
                  "src": "13109:322:72",
                  "trueBody": {
                    "id": 20536,
                    "nodeType": "Block",
                    "src": "13136:193:72",
                    "statements": [
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 20518,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "id": 20515,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "13148:3:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 20516,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "value",
                            "nodeType": "MemberAccess",
                            "src": "13148:9:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "hexValue": "30",
                            "id": 20517,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "13160:1:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "13148:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 20522,
                        "nodeType": "IfStatement",
                        "src": "13144:48:72",
                        "trueBody": {
                          "errorCall": {
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "id": 20519,
                              "name": "NO_MSG_VALUE_ALLOWED",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20194,
                              "src": "13170:20:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_error_pure$__$returns$__$",
                                "typeString": "function () pure"
                              }
                            },
                            "id": 20520,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "13170:22:72",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$__$",
                              "typeString": "tuple()"
                            }
                          },
                          "id": 20521,
                          "nodeType": "RevertStatement",
                          "src": "13163:29:72"
                        }
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 20524,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "13278:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 20525,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "13278:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "arguments": [
                                {
                                  "arguments": [
                                    {
                                      "id": 20530,
                                      "name": "this",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": -28,
                                      "src": "13306:4:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                        "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                        "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                      }
                                    ],
                                    "id": 20529,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "13298:7:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": {
                                      "id": 20528,
                                      "name": "address",
                                      "nodeType": "ElementaryTypeName",
                                      "src": "13298:7:72",
                                      "typeDescriptions": {}
                                    }
                                  },
                                  "id": 20531,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "13298:13:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 20527,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "13290:8:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_payable_$",
                                  "typeString": "type(address payable)"
                                },
                                "typeName": {
                                  "id": 20526,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "13290:8:72",
                                  "stateMutability": "payable",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 20532,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "13290:22:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "id": 20533,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20488,
                              "src": "13314:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 20523,
                            "name": "_transferFrom",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20994,
                            "src": "13264:13:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_payable_$_t_uint256_$returns$__$",
                              "typeString": "function (address,address payable,uint256)"
                            }
                          },
                          "id": 20534,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "13264:58:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 20535,
                        "nodeType": "ExpressionStatement",
                        "src": "13264:58:72"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 20544,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20488,
                        "src": "13465:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 20545,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "13482:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 20546,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "13482:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 20547,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20486,
                        "src": "13502:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20548,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20492,
                        "src": "13522:12:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 20549,
                        "name": "_minReturnedTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20494,
                        "src": "13544:18:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20550,
                        "name": "_preferClaimedTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20496,
                        "src": "13572:20:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "id": 20551,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20498,
                        "src": "13602:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        }
                      },
                      {
                        "id": 20552,
                        "name": "_metadata",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20500,
                        "src": "13617:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_calldata_ptr",
                          "typeString": "bytes calldata"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        },
                        {
                          "typeIdentifier": "t_bytes_calldata_ptr",
                          "typeString": "bytes calldata"
                        }
                      ],
                      "id": 20543,
                      "name": "_pay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22162,
                      "src": "13451:4:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$_t_uint256_$_t_address_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_uint256_$",
                        "typeString": "function (uint256,address,uint256,address,uint256,bool,string memory,bytes memory) returns (uint256)"
                      }
                    },
                    "id": 20553,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "13451:183:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 20508,
                  "id": 20554,
                  "nodeType": "Return",
                  "src": "13438:196:72"
                }
              ]
            },
            "baseFunctions": [
              31980
            ],
            "documentation": {
              "id": 20484,
              "nodeType": "StructuredDocumentation",
              "src": "11233:1428:72",
              "text": "@notice\nContribute tokens to a project.\n@param _projectId The ID of the project being paid.\n@param _amount The amount of terminal tokens being received, as a fixed point number with the same amount of decimals as this terminal. If this terminal's token is ETH, this is ignored and msg.value is used in its place.\n@param _token The token being paid. This terminal ignores this property since it only manages one token. \n@param _beneficiary The address to mint tokens for and pass along to the funding cycle's data source and delegate.\n@param _minReturnedTokens The minimum number of project tokens expected in return, as a fixed point number with the same amount of decimals as this terminal.\n@param _preferClaimedTokens A flag indicating whether the request prefers to mint project tokens into the beneficiaries wallet rather than leaving them unclaimed. This is only possible if the project has an attached token contract. Leaving them unclaimed saves gas.\n@param _memo A memo to pass along to the emitted event, and passed along the the funding cycle's data source and delegate.  A data source can alter the memo before emitting in the event and forwarding to the delegate.\n@param _metadata Bytes to send along to the data source, delegate, and emitted event, if provided.\n@return The number of tokens minted for the beneficiary, as a fixed point number with 18 decimals."
            },
            "functionSelector": "1ebc263f",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 20504,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20486,
                    "src": "12939:10:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 20505,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20503,
                  "name": "isTerminalOf",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 20221,
                  "src": "12926:12:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "12926:24:72"
              }
            ],
            "name": "pay",
            "nameLocation": "12673:3:72",
            "overrides": {
              "id": 20502,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "12917:8:72"
            },
            "parameters": {
              "id": 20501,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20486,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "12690:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12682:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20485,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12682:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20488,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "12714:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12706:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20487,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12706:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20490,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "12735:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12727:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20489,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "12727:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20492,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "12755:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12747:20:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20491,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "12747:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20494,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "12781:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12773:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20493,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12773:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20496,
                  "mutability": "mutable",
                  "name": "_preferClaimedTokens",
                  "nameLocation": "12810:20:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12805:25:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 20495,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "12805:4:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20498,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "12852:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12836:21:72",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 20497,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "12836:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20500,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "12878:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12863:24:72",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 20499,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "12863:5:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "12676:215:72"
            },
            "returnParameters": {
              "id": 20508,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20507,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 20556,
                  "src": "12960:7:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20506,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12960:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "12959:9:72"
            },
            "scope": 22462,
            "stateMutability": "payable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20598,
            "nodeType": "FunctionDefinition",
            "src": "14807:635:72",
            "nodes": [],
            "body": {
              "id": 20597,
              "nodeType": "Block",
              "src": "15184:258:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 20585,
                    "name": "_token",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20565,
                    "src": "15190:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 20586,
                  "nodeType": "ExpressionStatement",
                  "src": "15190:6:72"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 20588,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20559,
                        "src": "15297:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 20589,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20561,
                        "src": "15314:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20590,
                        "name": "_tokenCount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20563,
                        "src": "15334:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20591,
                        "name": "_minReturnedTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20567,
                        "src": "15355:18:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20592,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20569,
                        "src": "15383:12:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "id": 20593,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20571,
                        "src": "15405:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      },
                      {
                        "id": 20594,
                        "name": "_metadata",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20573,
                        "src": "15420:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        },
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      ],
                      "id": 20587,
                      "name": "_redeemTokensOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21154,
                      "src": "15272:15:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_payable_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_uint256_$",
                        "typeString": "function (address,uint256,uint256,uint256,address payable,string memory,bytes memory) returns (uint256)"
                      }
                    },
                    "id": 20595,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "15272:165:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 20584,
                  "id": 20596,
                  "nodeType": "Return",
                  "src": "15259:178:72"
                }
              ]
            },
            "baseFunctions": [
              23132
            ],
            "documentation": {
              "id": 20557,
              "nodeType": "StructuredDocumentation",
              "src": "13643:1161:72",
              "text": "@notice\nHolders can redeem their tokens to claim the project's overflowed tokens, or to trigger rules determined by the project's current funding cycle's data source.\n@dev\nOnly a token holder or a designated operator can redeem its tokens.\n@param _holder The account to redeem tokens for.\n@param _projectId The ID of the project to which the tokens being redeemed belong.\n@param _tokenCount The number of project tokens to redeem, as a fixed point number with 18 decimals.\n@param _token The token being reclaimed. This terminal ignores this property since it only manages one token. \n@param _minReturnedTokens The minimum amount of terminal tokens expected in return, as a fixed point number with the same amount of decimals as the terminal.\n@param _beneficiary The address to send the terminal tokens to.\n@param _memo A memo to pass along to the emitted event.\n@param _metadata Bytes to send along to the data source, delegate, and emitted event, if provided.\n@return reclaimAmount The amount of terminal tokens that the project tokens were redeemed for, as a fixed point number with 18 decimals."
            },
            "functionSelector": "fe663f0f",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 20577,
                    "name": "_holder",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20559,
                    "src": "15104:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 20578,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20561,
                    "src": "15113:10:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 20579,
                      "name": "JBOperations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 24137,
                      "src": "15125:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_JBOperations_$24137_$",
                        "typeString": "type(library JBOperations)"
                      }
                    },
                    "id": 20580,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "REDEEM",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 24088,
                    "src": "15125:19:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 20581,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20576,
                  "name": "requirePermission",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 20030,
                  "src": "15086:17:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "15086:59:72"
              }
            ],
            "name": "redeemTokensOf",
            "nameLocation": "14816:14:72",
            "overrides": {
              "id": 20575,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "15073:8:72"
            },
            "parameters": {
              "id": 20574,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20559,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "14844:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "14836:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20558,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "14836:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20561,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "14865:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "14857:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20560,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14857:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20563,
                  "mutability": "mutable",
                  "name": "_tokenCount",
                  "nameLocation": "14889:11:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "14881:19:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20562,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14881:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20565,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "14914:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "14906:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20564,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "14906:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20567,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "14934:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "14926:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20566,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14926:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20569,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "14974:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "14958:28:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 20568,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "14958:15:72",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20571,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "15006:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "14992:19:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 20570,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "14992:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20573,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "15030:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "15017:22:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 20572,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "15017:5:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14830:213:72"
            },
            "returnParameters": {
              "id": 20584,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20583,
                  "mutability": "mutable",
                  "name": "reclaimAmount",
                  "nameLocation": "15167:13:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20598,
                  "src": "15159:21:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20582,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "15159:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15158:23:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20628,
            "nodeType": "FunctionDefinition",
            "src": "16919:420:72",
            "nodes": [],
            "body": {
              "id": 20627,
              "nodeType": "Block",
              "src": "17173:166:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 20617,
                    "name": "_token",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20607,
                    "src": "17179:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 20618,
                  "nodeType": "ExpressionStatement",
                  "src": "17179:6:72"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 20620,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20601,
                        "src": "17276:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20621,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20603,
                        "src": "17288:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20622,
                        "name": "_currency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20605,
                        "src": "17297:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20623,
                        "name": "_minReturnedTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20609,
                        "src": "17308:18:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20624,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20611,
                        "src": "17328:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        }
                      ],
                      "id": 20619,
                      "name": "_distributePayoutsOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21310,
                      "src": "17255:20:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_string_calldata_ptr_$returns$_t_uint256_$",
                        "typeString": "function (uint256,uint256,uint256,uint256,string calldata) returns (uint256)"
                      }
                    },
                    "id": 20625,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "17255:79:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 20616,
                  "id": 20626,
                  "nodeType": "Return",
                  "src": "17248:86:72"
                }
              ]
            },
            "baseFunctions": [
              23054
            ],
            "documentation": {
              "id": 20599,
              "nodeType": "StructuredDocumentation",
              "src": "15446:1470:72",
              "text": "@notice\nDistributes payouts for a project with the distribution limit of its current funding cycle.\n@dev\nPayouts are sent to the preprogrammed splits. Any leftover is sent to the project's owner.\n@dev\nAnyone can distribute payouts on a project's behalf. The project can preconfigure a wildcard split that is used to send funds to msg.sender. This can be used to incentivize calling this function.\n@dev\nAll funds distributed outside of this contract or any feeless terminals incure the protocol fee.\n@param _projectId The ID of the project having its payouts distributed.\n@param _amount The amount of terminal tokens to distribute, as a fixed point number with same number of decimals as this terminal.\n@param _currency The expected currency of the amount being distributed. Must match the project's current funding cycle's distribution limit currency.\n@param _token The token being distributed. This terminal ignores this property since it only manages one token. \n@param _minReturnedTokens The minimum number of terminal tokens that the `_amount` should be valued at in terms of this terminal's currency, as a fixed point number with the same number of decimals as this terminal.\n@param _memo A memo to pass along to the emitted event.\n@return netLeftoverDistributionAmount The amount that was sent to the project owner, as a fixed point number with the same amount of decimals as this terminal."
            },
            "functionSelector": "2b267b4e",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "distributePayoutsOf",
            "nameLocation": "16928:19:72",
            "overrides": {
              "id": 20613,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "17116:8:72"
            },
            "parameters": {
              "id": 20612,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20601,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "16961:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20628,
                  "src": "16953:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20600,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16953:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20603,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "16985:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20628,
                  "src": "16977:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20602,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16977:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20605,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "17006:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20628,
                  "src": "16998:17:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20604,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16998:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20607,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "17029:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20628,
                  "src": "17021:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20606,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "17021:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20609,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "17049:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20628,
                  "src": "17041:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20608,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17041:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20611,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "17089:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20628,
                  "src": "17073:21:72",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 20610,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "17073:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16947:151:72"
            },
            "returnParameters": {
              "id": 20616,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20615,
                  "mutability": "mutable",
                  "name": "netLeftoverDistributionAmount",
                  "nameLocation": "17142:29:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20628,
                  "src": "17134:37:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20614,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17134:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17133:39:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20670,
            "nodeType": "FunctionDefinition",
            "src": "18555:557:72",
            "nodes": [],
            "body": {
              "id": 20669,
              "nodeType": "Block",
              "src": "18937:175:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 20658,
                    "name": "_token",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20637,
                    "src": "18943:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 20659,
                  "nodeType": "ExpressionStatement",
                  "src": "18943:6:72"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 20661,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20631,
                        "src": "19035:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20662,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20633,
                        "src": "19047:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20663,
                        "name": "_currency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20635,
                        "src": "19056:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20664,
                        "name": "_minReturnedTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20639,
                        "src": "19067:18:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20665,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20641,
                        "src": "19087:12:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "id": 20666,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20643,
                        "src": "19101:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 20660,
                      "name": "_useAllowanceOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21427,
                      "src": "19019:15:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_payable_$_t_string_memory_ptr_$returns$_t_uint256_$",
                        "typeString": "function (uint256,uint256,uint256,uint256,address payable,string memory) returns (uint256)"
                      }
                    },
                    "id": 20667,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "19019:88:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 20657,
                  "id": 20668,
                  "nodeType": "Return",
                  "src": "19012:95:72"
                }
              ]
            },
            "baseFunctions": [
              22605
            ],
            "documentation": {
              "id": 20629,
              "nodeType": "StructuredDocumentation",
              "src": "17343:1209:72",
              "text": "@notice\nAllows a project to send funds from its overflow up to the preconfigured allowance.\n@dev\nOnly a project's owner or a designated operator can use its allowance.\n@dev\nIncurs the protocol fee.\n@param _projectId The ID of the project to use the allowance of.\n@param _amount The amount of terminal tokens to use from this project's current allowance, as a fixed point number with the same amount of decimals as this terminal.\n@param _currency The expected currency of the amount being distributed. Must match the project's current funding cycle's overflow allowance currency.\n@param _token The token being distributed. This terminal ignores this property since it only manages one token. \n@param _minReturnedTokens The minimum number of tokens that the `_amount` should be valued at in terms of this terminal's currency, as a fixed point number with 18 decimals.\n@param _beneficiary The address to send the funds to.\n@param _memo A memo to pass along to the emitted event.\n@return netDistributedAmount The amount of tokens that was distributed to the beneficiary, as a fixed point number with the same amount of decimals as the terminal."
            },
            "functionSelector": "bc8926e9",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "arguments": [
                      {
                        "id": 20649,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20631,
                        "src": "18839:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 20647,
                        "name": "projects",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20241,
                        "src": "18822:8:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBProjects_$38202",
                          "typeString": "contract IJBProjects"
                        }
                      },
                      "id": 20648,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ownerOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37545,
                      "src": "18822:16:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                        "typeString": "function (uint256) view external returns (address)"
                      }
                    },
                    "id": 20650,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "18822:28:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 20651,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20631,
                    "src": "18852:10:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 20652,
                      "name": "JBOperations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 24137,
                      "src": "18864:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_JBOperations_$24137_$",
                        "typeString": "type(library JBOperations)"
                      }
                    },
                    "id": 20653,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "USE_ALLOWANCE",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 24133,
                    "src": "18864:26:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 20654,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20646,
                  "name": "requirePermission",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 20030,
                  "src": "18804:17:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "18804:87:72"
              }
            ],
            "name": "useAllowanceOf",
            "nameLocation": "18564:14:72",
            "overrides": {
              "id": 20645,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "18791:8:72"
            },
            "parameters": {
              "id": 20644,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20631,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "18592:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20670,
                  "src": "18584:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20630,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18584:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20633,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "18616:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20670,
                  "src": "18608:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20632,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18608:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20635,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "18637:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20670,
                  "src": "18629:17:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20634,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18629:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20637,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "18660:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20670,
                  "src": "18652:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20636,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "18652:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20639,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "18680:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20670,
                  "src": "18672:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20638,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18672:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20641,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "18720:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20670,
                  "src": "18704:28:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 20640,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "18704:15:72",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20643,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "18752:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20670,
                  "src": "18738:19:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 20642,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "18738:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "18578:183:72"
            },
            "returnParameters": {
              "id": 20657,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20656,
                  "mutability": "mutable",
                  "name": "netDistributedAmount",
                  "nameLocation": "18913:20:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20670,
                  "src": "18905:28:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20655,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18905:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "18904:30:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20755,
            "nodeType": "FunctionDefinition",
            "src": "19602:1003:72",
            "nodes": [],
            "body": {
              "id": 20754,
              "nodeType": "Block",
              "src": "19828:777:72",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "id": 20696,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "!",
                    "prefix": true,
                    "src": "19921:36:72",
                    "subExpression": {
                      "arguments": [
                        {
                          "id": 20693,
                          "name": "token",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22475,
                          "src": "19939:5:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        {
                          "id": 20694,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20673,
                          "src": "19946:10:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 20691,
                          "name": "_to",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20676,
                          "src": "19922:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                            "typeString": "contract IJBPaymentTerminal"
                          }
                        },
                        "id": 20692,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "acceptsToken",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 31938,
                        "src": "19922:16:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_bool_$",
                          "typeString": "function (address,uint256) view external returns (bool)"
                        }
                      },
                      "id": 20695,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "19922:35:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 20700,
                  "nodeType": "IfStatement",
                  "src": "19917:79:72",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 20697,
                        "name": "TERMINAL_TOKENS_INCOMPATIBLE",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20204,
                        "src": "19966:28:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 20698,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "19966:30:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 20699,
                    "nodeType": "RevertStatement",
                    "src": "19959:37:72"
                  }
                },
                {
                  "expression": {
                    "id": 20706,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20701,
                      "name": "balance",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20689,
                      "src": "20045:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 20704,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20673,
                          "src": "20077:10:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 20702,
                          "name": "store",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20261,
                          "src": "20055:5:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                            "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                          }
                        },
                        "id": 20703,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "recordMigration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 23357,
                        "src": "20055:21:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256) external returns (uint256)"
                        }
                      },
                      "id": 20705,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "20055:33:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "20045:43:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 20707,
                  "nodeType": "ExpressionStatement",
                  "src": "20045:43:72"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 20710,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 20708,
                      "name": "balance",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20689,
                      "src": "20138:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 20709,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "20148:1:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "20138:11:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 20745,
                  "nodeType": "IfStatement",
                  "src": "20134:410:72",
                  "trueBody": {
                    "id": 20744,
                    "nodeType": "Block",
                    "src": "20151:393:72",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "id": 20714,
                                  "name": "_to",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20676,
                                  "src": "20236:3:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                    "typeString": "contract IJBPaymentTerminal"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                    "typeString": "contract IJBPaymentTerminal"
                                  }
                                ],
                                "id": 20713,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "20228:7:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 20712,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "20228:7:72",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 20715,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "20228:12:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 20716,
                              "name": "balance",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20689,
                              "src": "20242:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 20711,
                            "name": "_beforeTransferTo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21002,
                            "src": "20210:17:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",
                              "typeString": "function (address,uint256)"
                            }
                          },
                          "id": 20717,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "20210:40:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 20718,
                        "nodeType": "ExpressionStatement",
                        "src": "20210:40:72"
                      },
                      {
                        "assignments": [
                          20720
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 20720,
                            "mutability": "mutable",
                            "name": "_payableValue",
                            "nameLocation": "20331:13:72",
                            "nodeType": "VariableDeclaration",
                            "scope": 20744,
                            "src": "20323:21:72",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 20719,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "20323:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 20728,
                        "initialValue": {
                          "condition": {
                            "commonType": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            },
                            "id": 20724,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 20721,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22475,
                              "src": "20347:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "expression": {
                                "id": 20722,
                                "name": "JBTokens",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 32019,
                                "src": "20356:8:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_JBTokens_$32019_$",
                                  "typeString": "type(library JBTokens)"
                                }
                              },
                              "id": 20723,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "ETH",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 32018,
                              "src": "20356:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "src": "20347:21:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "falseExpression": {
                            "hexValue": "30",
                            "id": 20726,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "20381:1:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "id": 20727,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "Conditional",
                          "src": "20347:35:72",
                          "trueExpression": {
                            "id": 20725,
                            "name": "balance",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20689,
                            "src": "20371:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "20323:59:72"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "id": 20734,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20673,
                              "src": "20495:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 20735,
                              "name": "balance",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20689,
                              "src": "20507:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 20736,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22475,
                              "src": "20516:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "hexValue": "",
                              "id": 20737,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "20523:2:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                "typeString": "literal_string \"\""
                              },
                              "value": ""
                            },
                            {
                              "arguments": [
                                {
                                  "hexValue": "",
                                  "id": 20740,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "string",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "20533:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                    "typeString": "literal_string \"\""
                                  },
                                  "value": ""
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                    "typeString": "literal_string \"\""
                                  }
                                ],
                                "id": 20739,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "20527:5:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                                  "typeString": "type(bytes storage pointer)"
                                },
                                "typeName": {
                                  "id": 20738,
                                  "name": "bytes",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "20527:5:72",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 20741,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "20527:9:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                "typeString": "literal_string \"\""
                              },
                              {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                {
                                  "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                  "typeString": "literal_string \"\""
                                },
                                {
                                  "typeIdentifier": "t_bytes_memory_ptr",
                                  "typeString": "bytes memory"
                                }
                              ],
                              "expression": {
                                "id": 20729,
                                "name": "_to",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 20676,
                                "src": "20454:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                  "typeString": "contract IJBPaymentTerminal"
                                }
                              },
                              "id": 20731,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "addToBalanceOf",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 31993,
                              "src": "20454:18:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$",
                                "typeString": "function (uint256,uint256,address,string memory,bytes memory) payable external"
                              }
                            },
                            "id": 20733,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "names": [
                              "value"
                            ],
                            "nodeType": "FunctionCallOptions",
                            "options": [
                              {
                                "id": 20732,
                                "name": "_payableValue",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 20720,
                                "src": "20480:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "src": "20454:40:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$value",
                              "typeString": "function (uint256,uint256,address,string memory,bytes memory) payable external"
                            }
                          },
                          "id": 20742,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "20454:83:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 20743,
                        "nodeType": "ExpressionStatement",
                        "src": "20454:83:72"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 20747,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20673,
                        "src": "20563:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20748,
                        "name": "_to",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20676,
                        "src": "20575:3:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                          "typeString": "contract IJBPaymentTerminal"
                        }
                      },
                      {
                        "id": 20749,
                        "name": "balance",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20689,
                        "src": "20580:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 20750,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "20589:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 20751,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "20589:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                          "typeString": "contract IJBPaymentTerminal"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 20746,
                      "name": "Migrate",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22754,
                      "src": "20555:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_contract$_IJBPaymentTerminal_$31994_$_t_uint256_$_t_address_$returns$__$",
                        "typeString": "function (uint256,contract IJBPaymentTerminal,uint256,address)"
                      }
                    },
                    "id": 20752,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "20555:45:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 20753,
                  "nodeType": "EmitStatement",
                  "src": "20550:50:72"
                }
              ]
            },
            "baseFunctions": [
              23011
            ],
            "documentation": {
              "id": 20671,
              "nodeType": "StructuredDocumentation",
              "src": "19116:483:72",
              "text": "@notice\nAllows a project owner to migrate its funds and operations to a new terminal that accepts the same token type.\n@dev\nOnly a project's owner or a designated operator can migrate it.\n@param _projectId The ID of the project being migrated.\n@param _to The terminal contract that will gain the project's funds.\n@return balance The amount of funds that were migrated, as a fixed point number with the same amount of decimals as this terminal."
            },
            "functionSelector": "405b84fa",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "arguments": [
                      {
                        "id": 20682,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20673,
                        "src": "19740:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 20680,
                        "name": "projects",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20241,
                        "src": "19723:8:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBProjects_$38202",
                          "typeString": "contract IJBProjects"
                        }
                      },
                      "id": 20681,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ownerOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37545,
                      "src": "19723:16:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                        "typeString": "function (uint256) view external returns (address)"
                      }
                    },
                    "id": 20683,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "19723:28:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 20684,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20673,
                    "src": "19753:10:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 20685,
                      "name": "JBOperations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 24137,
                      "src": "19765:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_JBOperations_$24137_$",
                        "typeString": "type(library JBOperations)"
                      }
                    },
                    "id": 20686,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "MIGRATE_TERMINAL",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 24094,
                    "src": "19765:29:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 20687,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20679,
                  "name": "requirePermission",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 20030,
                  "src": "19705:17:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "19705:90:72"
              }
            ],
            "name": "migrate",
            "nameLocation": "19611:7:72",
            "overrides": {
              "id": 20678,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "19692:8:72"
            },
            "parameters": {
              "id": 20677,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20673,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "19627:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20755,
                  "src": "19619:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20672,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "19619:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20676,
                  "mutability": "mutable",
                  "name": "_to",
                  "nameLocation": "19658:3:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20755,
                  "src": "19639:22:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                    "typeString": "contract IJBPaymentTerminal"
                  },
                  "typeName": {
                    "id": 20675,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 20674,
                      "name": "IJBPaymentTerminal",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 31994,
                      "src": "19639:18:72"
                    },
                    "referencedDeclaration": 31994,
                    "src": "19639:18:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "19618:44:72"
            },
            "returnParameters": {
              "id": 20690,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20689,
                  "mutability": "mutable",
                  "name": "balance",
                  "nameLocation": "19817:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20755,
                  "src": "19809:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20688,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "19809:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "19808:17:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20820,
            "nodeType": "FunctionDefinition",
            "src": "21207:975:72",
            "nodes": [],
            "body": {
              "id": 20819,
              "nodeType": "Block",
              "src": "21416:766:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 20773,
                    "name": "_token",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20762,
                    "src": "21422:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 20774,
                  "nodeType": "ExpressionStatement",
                  "src": "21422:6:72"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 20778,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 20775,
                      "name": "token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22475,
                      "src": "21616:5:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "expression": {
                        "id": 20776,
                        "name": "JBTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 32019,
                        "src": "21625:8:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_JBTokens_$32019_$",
                          "typeString": "type(library JBTokens)"
                        }
                      },
                      "id": 20777,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ETH",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 32018,
                      "src": "21625:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "21616:21:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "expression": {
                      "id": 20804,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 20801,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20760,
                        "src": "21956:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "expression": {
                          "id": 20802,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "21966:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 20803,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "value",
                        "nodeType": "MemberAccess",
                        "src": "21966:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "21956:19:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 20805,
                    "nodeType": "ExpressionStatement",
                    "src": "21956:19:72"
                  },
                  "id": 20806,
                  "nodeType": "IfStatement",
                  "src": "21612:363:72",
                  "trueBody": {
                    "id": 20800,
                    "nodeType": "Block",
                    "src": "21639:233:72",
                    "statements": [
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 20782,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "id": 20779,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "21691:3:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 20780,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "value",
                            "nodeType": "MemberAccess",
                            "src": "21691:9:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "hexValue": "30",
                            "id": 20781,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "21703:1:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "21691:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 20786,
                        "nodeType": "IfStatement",
                        "src": "21687:48:72",
                        "trueBody": {
                          "errorCall": {
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "id": 20783,
                              "name": "NO_MSG_VALUE_ALLOWED",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20194,
                              "src": "21713:20:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_error_pure$__$returns$__$",
                                "typeString": "function () pure"
                              }
                            },
                            "id": 20784,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "21713:22:72",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$__$",
                              "typeString": "tuple()"
                            }
                          },
                          "id": 20785,
                          "nodeType": "RevertStatement",
                          "src": "21706:29:72"
                        }
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 20788,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "21821:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 20789,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "21821:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "arguments": [
                                {
                                  "arguments": [
                                    {
                                      "id": 20794,
                                      "name": "this",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": -28,
                                      "src": "21849:4:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                        "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                        "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                      }
                                    ],
                                    "id": 20793,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "21841:7:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": {
                                      "id": 20792,
                                      "name": "address",
                                      "nodeType": "ElementaryTypeName",
                                      "src": "21841:7:72",
                                      "typeDescriptions": {}
                                    }
                                  },
                                  "id": 20795,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "21841:13:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 20791,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "21833:8:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_payable_$",
                                  "typeString": "type(address payable)"
                                },
                                "typeName": {
                                  "id": 20790,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "21833:8:72",
                                  "stateMutability": "payable",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 20796,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "21833:22:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "id": 20797,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20760,
                              "src": "21857:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 20787,
                            "name": "_transferFrom",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20994,
                            "src": "21807:13:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_payable_$_t_uint256_$returns$__$",
                              "typeString": "function (address,address payable,uint256)"
                            }
                          },
                          "id": 20798,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "21807:58:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 20799,
                        "nodeType": "ExpressionStatement",
                        "src": "21807:58:72"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 20808,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20758,
                        "src": "22108:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20809,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20760,
                        "src": "22120:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 20814,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "UnaryOperation",
                        "operator": "!",
                        "prefix": true,
                        "src": "22129:29:72",
                        "subExpression": {
                          "baseExpression": {
                            "id": 20810,
                            "name": "isFeelessAddress",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20285,
                            "src": "22130:16:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                              "typeString": "mapping(address => bool)"
                            }
                          },
                          "id": 20813,
                          "indexExpression": {
                            "expression": {
                              "id": 20811,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "22147:3:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 20812,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "src": "22147:10:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "22130:28:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "id": 20815,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20764,
                        "src": "22160:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        }
                      },
                      {
                        "id": 20816,
                        "name": "_metadata",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20766,
                        "src": "22167:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_calldata_ptr",
                          "typeString": "bytes calldata"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        },
                        {
                          "typeIdentifier": "t_bytes_calldata_ptr",
                          "typeString": "bytes calldata"
                        }
                      ],
                      "id": 20807,
                      "name": "_addToBalanceOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22206,
                      "src": "22092:15:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$",
                        "typeString": "function (uint256,uint256,bool,string memory,bytes memory)"
                      }
                    },
                    "id": 20817,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "22092:85:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 20818,
                  "nodeType": "ExpressionStatement",
                  "src": "22092:85:72"
                }
              ]
            },
            "baseFunctions": [
              31993
            ],
            "documentation": {
              "id": 20756,
              "nodeType": "StructuredDocumentation",
              "src": "20609:595:72",
              "text": "@notice\nReceives funds belonging to the specified project.\n@param _projectId The ID of the project to which the funds received belong.\n@param _amount The amount of tokens to add, as a fixed point number with the same number of decimals as this terminal. If this is an ETH terminal, this is ignored and msg.value is used instead.\n@param _token The token being paid. This terminal ignores this property since it only manages one currency. \n@param _memo A memo to pass along to the emitted event.\n@param _metadata Extra data to pass along to the emitted event."
            },
            "functionSelector": "0cf8e858",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 20770,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20758,
                    "src": "21404:10:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 20771,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20769,
                  "name": "isTerminalOf",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 20221,
                  "src": "21391:12:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "21391:24:72"
              }
            ],
            "name": "addToBalanceOf",
            "nameLocation": "21216:14:72",
            "overrides": {
              "id": 20768,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "21382:8:72"
            },
            "parameters": {
              "id": 20767,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20758,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "21244:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20820,
                  "src": "21236:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20757,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "21236:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20760,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "21268:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20820,
                  "src": "21260:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20759,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "21260:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20762,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "21289:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20820,
                  "src": "21281:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20761,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "21281:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20764,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "21317:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20820,
                  "src": "21301:21:72",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 20763,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "21301:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20766,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "21343:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20820,
                  "src": "21328:24:72",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 20765,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "21328:5:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "21230:126:72"
            },
            "returnParameters": {
              "id": 20772,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "21416:0:72"
            },
            "scope": 22462,
            "stateMutability": "payable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20911,
            "nodeType": "FunctionDefinition",
            "src": "22444:961:72",
            "nodes": [],
            "body": {
              "id": 20910,
              "nodeType": "Block",
              "src": "22685:720:72",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    20845
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 20845,
                      "mutability": "mutable",
                      "name": "_heldFees",
                      "nameLocation": "22757:9:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 20910,
                      "src": "22742:24:72",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                        "typeString": "struct JBFee[]"
                      },
                      "typeName": {
                        "baseType": {
                          "id": 20843,
                          "nodeType": "UserDefinedTypeName",
                          "pathNode": {
                            "id": 20842,
                            "name": "JBFee",
                            "nodeType": "IdentifierPath",
                            "referencedDeclaration": 24157,
                            "src": "22742:5:72"
                          },
                          "referencedDeclaration": 24157,
                          "src": "22742:5:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFee_$24157_storage_ptr",
                            "typeString": "struct JBFee"
                          }
                        },
                        "id": 20844,
                        "nodeType": "ArrayTypeName",
                        "src": "22742:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr",
                          "typeString": "struct JBFee[]"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 20849,
                  "initialValue": {
                    "baseExpression": {
                      "id": 20846,
                      "name": "_heldFeesOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20236,
                      "src": "22769:11:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                        "typeString": "mapping(uint256 => struct JBFee storage ref[] storage ref)"
                      }
                    },
                    "id": 20848,
                    "indexExpression": {
                      "id": 20847,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20823,
                      "src": "22781:10:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "22769:23:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage",
                      "typeString": "struct JBFee storage ref[] storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "22742:50:72"
                },
                {
                  "expression": {
                    "id": 20853,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "22828:30:72",
                    "subExpression": {
                      "baseExpression": {
                        "id": 20850,
                        "name": "_heldFeesOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20236,
                        "src": "22835:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                          "typeString": "mapping(uint256 => struct JBFee storage ref[] storage ref)"
                        }
                      },
                      "id": 20852,
                      "indexExpression": {
                        "id": 20851,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20823,
                        "src": "22847:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "22835:23:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage",
                        "typeString": "struct JBFee storage ref[] storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 20854,
                  "nodeType": "ExpressionStatement",
                  "src": "22828:30:72"
                },
                {
                  "assignments": [
                    20856
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 20856,
                      "mutability": "mutable",
                      "name": "_heldFeeLength",
                      "nameLocation": "22907:14:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 20910,
                      "src": "22899:22:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 20855,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "22899:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 20859,
                  "initialValue": {
                    "expression": {
                      "id": 20857,
                      "name": "_heldFees",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20845,
                      "src": "22924:9:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                        "typeString": "struct JBFee memory[] memory"
                      }
                    },
                    "id": 20858,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "22924:16:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "22899:41:72"
                },
                {
                  "body": {
                    "id": 20908,
                    "nodeType": "Block",
                    "src": "23016:385:72",
                    "statements": [
                      {
                        "assignments": [
                          20868
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 20868,
                            "mutability": "mutable",
                            "name": "_amount",
                            "nameLocation": "23061:7:72",
                            "nodeType": "VariableDeclaration",
                            "scope": 20908,
                            "src": "23053:15:72",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 20867,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "23053:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 20883,
                        "initialValue": {
                          "arguments": [
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 20870,
                                  "name": "_heldFees",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20845,
                                  "src": "23091:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct JBFee memory[] memory"
                                  }
                                },
                                "id": 20872,
                                "indexExpression": {
                                  "id": 20871,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20861,
                                  "src": "23101:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "23091:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                  "typeString": "struct JBFee memory"
                                }
                              },
                              "id": 20873,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "amount",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24150,
                              "src": "23091:20:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 20874,
                                  "name": "_heldFees",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20845,
                                  "src": "23121:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct JBFee memory[] memory"
                                  }
                                },
                                "id": 20876,
                                "indexExpression": {
                                  "id": 20875,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20861,
                                  "src": "23131:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "23121:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                  "typeString": "struct JBFee memory"
                                }
                              },
                              "id": 20877,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "fee",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24152,
                              "src": "23121:17:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint32",
                                "typeString": "uint32"
                              }
                            },
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 20878,
                                  "name": "_heldFees",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20845,
                                  "src": "23148:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct JBFee memory[] memory"
                                  }
                                },
                                "id": 20880,
                                "indexExpression": {
                                  "id": 20879,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20861,
                                  "src": "23158:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "23148:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                  "typeString": "struct JBFee memory"
                                }
                              },
                              "id": 20881,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "feeDiscount",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24154,
                              "src": "23148:25:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint32",
                                "typeString": "uint32"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint32",
                                "typeString": "uint32"
                              },
                              {
                                "typeIdentifier": "t_uint32",
                                "typeString": "uint32"
                              }
                            ],
                            "id": 20869,
                            "name": "_feeAmount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22394,
                            "src": "23071:10:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 20882,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "23071:110:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "23053:128:72"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "id": 20885,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20868,
                              "src": "23228:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 20886,
                                  "name": "_heldFees",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20845,
                                  "src": "23237:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct JBFee memory[] memory"
                                  }
                                },
                                "id": 20888,
                                "indexExpression": {
                                  "id": 20887,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20861,
                                  "src": "23247:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "23237:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                  "typeString": "struct JBFee memory"
                                }
                              },
                              "id": 20889,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "beneficiary",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24156,
                              "src": "23237:25:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 20884,
                            "name": "_processFee",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22007,
                            "src": "23216:11:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$returns$__$",
                              "typeString": "function (uint256,address)"
                            }
                          },
                          "id": 20890,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "23216:47:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 20891,
                        "nodeType": "ExpressionStatement",
                        "src": "23216:47:72"
                      },
                      {
                        "eventCall": {
                          "arguments": [
                            {
                              "id": 20893,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20823,
                              "src": "23288:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 20894,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20868,
                              "src": "23300:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "hexValue": "74727565",
                              "id": 20895,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "23309:4:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "true"
                            },
                            {
                              "expression": {
                                "baseExpression": {
                                  "id": 20896,
                                  "name": "_heldFees",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20845,
                                  "src": "23315:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct JBFee memory[] memory"
                                  }
                                },
                                "id": 20898,
                                "indexExpression": {
                                  "id": 20897,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20861,
                                  "src": "23325:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "23315:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                  "typeString": "struct JBFee memory"
                                }
                              },
                              "id": 20899,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "beneficiary",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24156,
                              "src": "23315:25:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "expression": {
                                "id": 20900,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "23342:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 20901,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "23342:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 20892,
                            "name": "ProcessFee",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22822,
                            "src": "23277:10:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bool_$_t_address_$_t_address_$returns$__$",
                              "typeString": "function (uint256,uint256,bool,address,address)"
                            }
                          },
                          "id": 20902,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "23277:76:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 20903,
                        "nodeType": "EmitStatement",
                        "src": "23272:81:72"
                      },
                      {
                        "id": 20907,
                        "nodeType": "UncheckedBlock",
                        "src": "23362:33:72",
                        "statements": [
                          {
                            "expression": {
                              "id": 20905,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "UnaryOperation",
                              "operator": "++",
                              "prefix": true,
                              "src": "23382:4:72",
                              "subExpression": {
                                "id": 20904,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 20861,
                                "src": "23384:2:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 20906,
                            "nodeType": "ExpressionStatement",
                            "src": "23382:4:72"
                          }
                        ]
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 20866,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 20864,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20861,
                      "src": "22993:2:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 20865,
                      "name": "_heldFeeLength",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20856,
                      "src": "22998:14:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "22993:19:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 20909,
                  "initializationExpression": {
                    "assignments": [
                      20861
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 20861,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "22985:2:72",
                        "nodeType": "VariableDeclaration",
                        "scope": 20909,
                        "src": "22977:10:72",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 20860,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "22977:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 20863,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 20862,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "22990:1:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "22977:14:72"
                  },
                  "nodeType": "ForStatement",
                  "src": "22972:429:72"
                }
              ]
            },
            "baseFunctions": [
              23016
            ],
            "documentation": {
              "id": 20821,
              "nodeType": "StructuredDocumentation",
              "src": "22186:255:72",
              "text": "@notice\nProcess any fees that are being held for the project.\n@dev\nOnly a project owner, an operator, or the contract's owner can process held fees.\n@param _projectId The ID of the project whos held fees should be processed."
            },
            "functionSelector": "89701db5",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "arguments": [
                      {
                        "id": 20829,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20823,
                        "src": "22585:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 20827,
                        "name": "projects",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20241,
                        "src": "22568:8:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBProjects_$38202",
                          "typeString": "contract IJBProjects"
                        }
                      },
                      "id": 20828,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ownerOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37545,
                      "src": "22568:16:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                        "typeString": "function (uint256) view external returns (address)"
                      }
                    },
                    "id": 20830,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "22568:28:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 20831,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 20823,
                    "src": "22604:10:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 20832,
                      "name": "JBOperations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 24137,
                      "src": "22622:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_JBOperations_$24137_$",
                        "typeString": "type(library JBOperations)"
                      }
                    },
                    "id": 20833,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "PROCESS_FEES",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 24097,
                    "src": "22622:25:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 20838,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "expression": {
                        "id": 20834,
                        "name": "msg",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": -15,
                        "src": "22655:3:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_magic_message",
                          "typeString": "msg"
                        }
                      },
                      "id": 20835,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "sender",
                      "nodeType": "MemberAccess",
                      "src": "22655:10:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 20836,
                        "name": "owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 36310,
                        "src": "22669:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                          "typeString": "function () view returns (address)"
                        }
                      },
                      "id": 20837,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "22669:7:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "22655:21:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  }
                ],
                "id": 20839,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20826,
                  "name": "requirePermissionAllowingOverride",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 20050,
                  "src": "22527:33:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "22527:155:72"
              }
            ],
            "name": "processFees",
            "nameLocation": "22453:11:72",
            "overrides": {
              "id": 20825,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "22514:8:72"
            },
            "parameters": {
              "id": 20824,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20823,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "22473:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20911,
                  "src": "22465:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20822,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "22465:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "22464:20:72"
            },
            "returnParameters": {
              "id": 20840,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "22685:0:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20938,
            "nodeType": "FunctionDefinition",
            "src": "23578:246:72",
            "nodes": [],
            "body": {
              "id": 20937,
              "nodeType": "Block",
              "src": "23644:180:72",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 20922,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 20920,
                      "name": "_fee",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20914,
                      "src": "23702:4:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "id": 20921,
                      "name": "_FEE_CAP",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20225,
                      "src": "23709:8:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "23702:15:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 20926,
                  "nodeType": "IfStatement",
                  "src": "23698:42:72",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 20923,
                        "name": "FEE_TOO_HIGH",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20186,
                        "src": "23726:12:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 20924,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "23726:14:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 20925,
                    "nodeType": "RevertStatement",
                    "src": "23719:21:72"
                  }
                },
                {
                  "expression": {
                    "id": 20929,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20927,
                      "name": "fee",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20274,
                      "src": "23773:3:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20928,
                      "name": "_fee",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20914,
                      "src": "23779:4:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "23773:10:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 20930,
                  "nodeType": "ExpressionStatement",
                  "src": "23773:10:72"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 20932,
                        "name": "_fee",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20914,
                        "src": "23802:4:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 20933,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "23808:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 20934,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "23808:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 20931,
                      "name": "SetFee",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22919,
                      "src": "23795:6:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$",
                        "typeString": "function (uint256,address)"
                      }
                    },
                    "id": 20935,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "23795:24:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 20936,
                  "nodeType": "EmitStatement",
                  "src": "23790:29:72"
                }
              ]
            },
            "baseFunctions": [
              23021
            ],
            "documentation": {
              "id": 20912,
              "nodeType": "StructuredDocumentation",
              "src": "23409:166:72",
              "text": "@notice\nAllows the fee to be updated.\n@dev\nOnly the owner of this contract can change the fee.\n@param _fee The new fee, out of MAX_FEE."
            },
            "functionSelector": "69fe0e2d",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 20918,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20917,
                  "name": "onlyOwner",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36301,
                  "src": "23634:9:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "23634:9:72"
              }
            ],
            "name": "setFee",
            "nameLocation": "23587:6:72",
            "overrides": {
              "id": 20916,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "23625:8:72"
            },
            "parameters": {
              "id": 20915,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20914,
                  "mutability": "mutable",
                  "name": "_fee",
                  "nameLocation": "23602:4:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20938,
                  "src": "23594:12:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20913,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "23594:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "23593:14:72"
            },
            "returnParameters": {
              "id": 20919,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "23644:0:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20959,
            "nodeType": "FunctionDefinition",
            "src": "24171:189:72",
            "nodes": [],
            "body": {
              "id": 20958,
              "nodeType": "Block",
              "src": "24251:109:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 20950,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 20948,
                      "name": "feeGauge",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20279,
                      "src": "24289:8:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                        "typeString": "contract IJBFeeGauge"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20949,
                      "name": "_feeGauge",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20942,
                      "src": "24300:9:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                        "typeString": "contract IJBFeeGauge"
                      }
                    },
                    "src": "24289:20:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                      "typeString": "contract IJBFeeGauge"
                    }
                  },
                  "id": 20951,
                  "nodeType": "ExpressionStatement",
                  "src": "24289:20:72"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 20953,
                        "name": "_feeGauge",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20942,
                        "src": "24333:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                          "typeString": "contract IJBFeeGauge"
                        }
                      },
                      {
                        "expression": {
                          "id": 20954,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "24344:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 20955,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "24344:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                          "typeString": "contract IJBFeeGauge"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 20952,
                      "name": "SetFeeGauge",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22926,
                      "src": "24321:11:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_contract$_IJBFeeGauge_$22626_$_t_address_$returns$__$",
                        "typeString": "function (contract IJBFeeGauge,address)"
                      }
                    },
                    "id": 20956,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "24321:34:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 20957,
                  "nodeType": "EmitStatement",
                  "src": "24316:39:72"
                }
              ]
            },
            "baseFunctions": [
              23027
            ],
            "documentation": {
              "id": 20939,
              "nodeType": "StructuredDocumentation",
              "src": "23828:340:72",
              "text": "@notice\nAllows the fee gauge to be updated.\n@dev\nOnly the owner of this contract can change the fee gauge.\n@dev\nIf the fee gauge reverts when called upon while a project is attempting to distribute its funds, a project's funds will be locked. This is a known risk.\n@param _feeGauge The new fee gauge."
            },
            "functionSelector": "637913ac",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 20946,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20945,
                  "name": "onlyOwner",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36301,
                  "src": "24241:9:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "24241:9:72"
              }
            ],
            "name": "setFeeGauge",
            "nameLocation": "24180:11:72",
            "overrides": {
              "id": 20944,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "24232:8:72"
            },
            "parameters": {
              "id": 20943,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20942,
                  "mutability": "mutable",
                  "name": "_feeGauge",
                  "nameLocation": "24204:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20959,
                  "src": "24192:21:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                    "typeString": "contract IJBFeeGauge"
                  },
                  "typeName": {
                    "id": 20941,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 20940,
                      "name": "IJBFeeGauge",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22626,
                      "src": "24192:11:72"
                    },
                    "referencedDeclaration": 22626,
                    "src": "24192:11:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                      "typeString": "contract IJBFeeGauge"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "24191:23:72"
            },
            "returnParameters": {
              "id": 20947,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "24251:0:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20984,
            "nodeType": "FunctionDefinition",
            "src": "24747:223:72",
            "nodes": [],
            "body": {
              "id": 20983,
              "nodeType": "Block",
              "src": "24840:130:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 20974,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 20970,
                        "name": "isFeelessAddress",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20285,
                        "src": "24873:16:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                          "typeString": "mapping(address => bool)"
                        }
                      },
                      "id": 20972,
                      "indexExpression": {
                        "id": 20971,
                        "name": "_address",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20962,
                        "src": "24890:8:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "24873:26:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 20973,
                      "name": "_flag",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20964,
                      "src": "24902:5:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "24873:34:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 20975,
                  "nodeType": "ExpressionStatement",
                  "src": "24873:34:72"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 20977,
                        "name": "_address",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20962,
                        "src": "24937:8:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 20978,
                        "name": "_flag",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20964,
                        "src": "24947:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "expression": {
                          "id": 20979,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "24954:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 20980,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "24954:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 20976,
                      "name": "SetFeelessAddress",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22934,
                      "src": "24919:17:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bool_$_t_address_$returns$__$",
                        "typeString": "function (address,bool,address)"
                      }
                    },
                    "id": 20981,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "24919:46:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 20982,
                  "nodeType": "EmitStatement",
                  "src": "24914:51:72"
                }
              ]
            },
            "baseFunctions": [
              23034
            ],
            "documentation": {
              "id": 20960,
              "nodeType": "StructuredDocumentation",
              "src": "24364:380:72",
              "text": "@notice\nSets whether projects operating on this terminal can pay towards the specified address without incurring a fee.\n@dev\nOnly the owner of this contract can set addresses as feeless.\n@param _address The address that can be paid towards while still bypassing fees.\n@param _flag A flag indicating whether the terminal should be feeless or not."
            },
            "functionSelector": "7258002c",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 20968,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 20967,
                  "name": "onlyOwner",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36301,
                  "src": "24830:9:72"
                },
                "nodeType": "ModifierInvocation",
                "src": "24830:9:72"
              }
            ],
            "name": "setFeelessAddress",
            "nameLocation": "24756:17:72",
            "overrides": {
              "id": 20966,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "24821:8:72"
            },
            "parameters": {
              "id": 20965,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20962,
                  "mutability": "mutable",
                  "name": "_address",
                  "nameLocation": "24782:8:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20984,
                  "src": "24774:16:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20961,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "24774:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20964,
                  "mutability": "mutable",
                  "name": "_flag",
                  "nameLocation": "24797:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20984,
                  "src": "24792:10:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 20963,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "24792:4:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "24773:30:72"
            },
            "returnParameters": {
              "id": 20969,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "24840:0:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "external"
          },
          {
            "id": 20994,
            "nodeType": "FunctionDefinition",
            "src": "25503:109:72",
            "nodes": [],
            "documentation": {
              "id": 20985,
              "nodeType": "StructuredDocumentation",
              "src": "25203:297:72",
              "text": "@notice\nTransfers tokens.\n@param _from The address from which the transfer should originate.\n@param _to The address to which the transfer should go.\n@param _amount The amount of the transfer, as a fixed point number with the same number of decimals as this terminal."
            },
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "_transferFrom",
            "nameLocation": "25512:13:72",
            "parameters": {
              "id": 20992,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20987,
                  "mutability": "mutable",
                  "name": "_from",
                  "nameLocation": "25539:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20994,
                  "src": "25531:13:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20986,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "25531:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20989,
                  "mutability": "mutable",
                  "name": "_to",
                  "nameLocation": "25566:3:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20994,
                  "src": "25550:19:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 20988,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "25550:15:72",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20991,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "25583:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 20994,
                  "src": "25575:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20990,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "25575:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "25525:69:72"
            },
            "returnParameters": {
              "id": 20993,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "25611:0:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "id": 21002,
            "nodeType": "FunctionDefinition",
            "src": "25895:74:72",
            "nodes": [],
            "documentation": {
              "id": 20995,
              "nodeType": "StructuredDocumentation",
              "src": "25616:276:72",
              "text": "@notice\nLogic to be triggered before transferring tokens from this terminal.\n@param _to The address to which the transfer is going.\n@param _amount The amount of the transfer, as a fixed point number with the same number of decimals as this terminal."
            },
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "_beforeTransferTo",
            "nameLocation": "25904:17:72",
            "parameters": {
              "id": 21000,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 20997,
                  "mutability": "mutable",
                  "name": "_to",
                  "nameLocation": "25930:3:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21002,
                  "src": "25922:11:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 20996,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "25922:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 20999,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "25943:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21002,
                  "src": "25935:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 20998,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "25935:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "25921:30:72"
            },
            "returnParameters": {
              "id": 21001,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "25968:0:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "id": 21154,
            "nodeType": "FunctionDefinition",
            "src": "27022:2266:72",
            "nodes": [],
            "body": {
              "id": 21153,
              "nodeType": "Block",
              "src": "27281:2007:72",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 21027,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 21022,
                      "name": "_beneficiary",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21013,
                      "src": "27346:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "arguments": [
                        {
                          "hexValue": "30",
                          "id": 21025,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "27370:1:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          }
                        ],
                        "id": 21024,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "27362:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": {
                          "id": 21023,
                          "name": "address",
                          "nodeType": "ElementaryTypeName",
                          "src": "27362:7:72",
                          "typeDescriptions": {}
                        }
                      },
                      "id": 21026,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "27362:10:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "27346:26:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 21031,
                  "nodeType": "IfStatement",
                  "src": "27342:63:72",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 21028,
                        "name": "REDEEM_TO_ZERO_ADDRESS",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20200,
                        "src": "27381:22:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 21029,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "27381:24:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 21030,
                    "nodeType": "RevertStatement",
                    "src": "27374:31:72"
                  }
                },
                {
                  "assignments": [
                    21034
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 21034,
                      "mutability": "mutable",
                      "name": "_fundingCycle",
                      "nameLocation": "27600:13:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 21153,
                      "src": "27578:35:72",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle"
                      },
                      "typeName": {
                        "id": 21033,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 21032,
                          "name": "JBFundingCycle",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35849,
                          "src": "27578:14:72"
                        },
                        "referencedDeclaration": 35849,
                        "src": "27578:14:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                          "typeString": "struct JBFundingCycle"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 21035,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "27578:35:72"
                },
                {
                  "id": 21123,
                  "nodeType": "Block",
                  "src": "27703:1208:72",
                  "statements": [
                    {
                      "assignments": [
                        21038
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 21038,
                          "mutability": "mutable",
                          "name": "_delegate",
                          "nameLocation": "27733:9:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 21123,
                          "src": "27711:31:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                            "typeString": "contract IJBRedemptionDelegate"
                          },
                          "typeName": {
                            "id": 21037,
                            "nodeType": "UserDefinedTypeName",
                            "pathNode": {
                              "id": 21036,
                              "name": "IJBRedemptionDelegate",
                              "nodeType": "IdentifierPath",
                              "referencedDeclaration": 38537,
                              "src": "27711:21:72"
                            },
                            "referencedDeclaration": 38537,
                            "src": "27711:21:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                              "typeString": "contract IJBRedemptionDelegate"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 21039,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "27711:31:72"
                    },
                    {
                      "expression": {
                        "id": 21053,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "components": [
                            {
                              "id": 21040,
                              "name": "_fundingCycle",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21034,
                              "src": "27784:13:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                "typeString": "struct JBFundingCycle memory"
                              }
                            },
                            {
                              "id": 21041,
                              "name": "reclaimAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21020,
                              "src": "27799:13:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21042,
                              "name": "_delegate",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21038,
                              "src": "27814:9:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                                "typeString": "contract IJBRedemptionDelegate"
                              }
                            },
                            {
                              "id": 21043,
                              "name": "_memo",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21015,
                              "src": "27825:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_string_memory_ptr",
                                "typeString": "string memory"
                              }
                            }
                          ],
                          "id": 21044,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": true,
                          "nodeType": "TupleExpression",
                          "src": "27783:48:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_contract$_IJBRedemptionDelegate_$38537_$_t_string_memory_ptr_$",
                            "typeString": "tuple(struct JBFundingCycle memory,uint256,contract IJBRedemptionDelegate,string memory)"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "arguments": [
                            {
                              "id": 21047,
                              "name": "_holder",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21005,
                              "src": "27869:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 21048,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21007,
                              "src": "27886:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21049,
                              "name": "_tokenCount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21009,
                              "src": "27906:11:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21050,
                              "name": "_memo",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21015,
                              "src": "27927:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_string_memory_ptr",
                                "typeString": "string memory"
                              }
                            },
                            {
                              "id": 21051,
                              "name": "_metadata",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21017,
                              "src": "27942:9:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_string_memory_ptr",
                                "typeString": "string memory"
                              },
                              {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            ],
                            "expression": {
                              "id": 21045,
                              "name": "store",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20261,
                              "src": "27834:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                                "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                              }
                            },
                            "id": 21046,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "recordRedemptionFor",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 23315,
                            "src": "27834:25:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_contract$_IJBRedemptionDelegate_$38537_$_t_string_memory_ptr_$",
                              "typeString": "function (address,uint256,uint256,string memory,bytes memory) external returns (struct JBFundingCycle memory,uint256,contract IJBRedemptionDelegate,string memory)"
                            }
                          },
                          "id": 21052,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "27834:125:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_contract$_IJBRedemptionDelegate_$38537_$_t_string_memory_ptr_$",
                            "typeString": "tuple(struct JBFundingCycle memory,uint256,contract IJBRedemptionDelegate,string memory)"
                          }
                        },
                        "src": "27783:176:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_tuple$__$",
                          "typeString": "tuple()"
                        }
                      },
                      "id": 21054,
                      "nodeType": "ExpressionStatement",
                      "src": "27783:176:72"
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 21057,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 21055,
                          "name": "reclaimAmount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21020,
                          "src": "28050:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "<",
                        "rightExpression": {
                          "id": 21056,
                          "name": "_minReturnedTokens",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21011,
                          "src": "28066:18:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "28050:34:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 21061,
                      "nodeType": "IfStatement",
                      "src": "28046:74:72",
                      "trueBody": {
                        "errorCall": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "id": 21058,
                            "name": "INADEQUATE_RECLAIM_AMOUNT",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20190,
                            "src": "28093:25:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_error_pure$__$returns$__$",
                              "typeString": "function () pure"
                            }
                          },
                          "id": 21059,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "28093:27:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21060,
                        "nodeType": "RevertStatement",
                        "src": "28086:34:72"
                      }
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 21064,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 21062,
                          "name": "_tokenCount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21009,
                          "src": "28167:11:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 21063,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "28181:1:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "28167:15:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 21079,
                      "nodeType": "IfStatement",
                      "src": "28163:196:72",
                      "trueBody": {
                        "expression": {
                          "arguments": [
                            {
                              "id": 21072,
                              "name": "_holder",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21005,
                              "src": "28266:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 21073,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21007,
                              "src": "28285:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21074,
                              "name": "_tokenCount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21009,
                              "src": "28307:11:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "hexValue": "",
                              "id": 21075,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "28330:2:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                "typeString": "literal_string \"\""
                              },
                              "value": ""
                            },
                            {
                              "hexValue": "66616c7365",
                              "id": 21076,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "28344:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "false"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                "typeString": "literal_string \"\""
                              },
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            ],
                            "expression": {
                              "arguments": [
                                {
                                  "arguments": [
                                    {
                                      "id": 21068,
                                      "name": "_projectId",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 21007,
                                      "src": "28229:10:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "expression": {
                                      "id": 21066,
                                      "name": "directory",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 20246,
                                      "src": "28206:9:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                                        "typeString": "contract IJBDirectory"
                                      }
                                    },
                                    "id": 21067,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "controllerOf",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 31854,
                                    "src": "28206:22:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                                      "typeString": "function (uint256) view external returns (address)"
                                    }
                                  },
                                  "id": 21069,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "28206:34:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 21065,
                                "name": "IJBController",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 38113,
                                "src": "28192:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_IJBController_$38113_$",
                                  "typeString": "type(contract IJBController)"
                                }
                              },
                              "id": 21070,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "28192:49:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBController_$38113",
                                "typeString": "contract IJBController"
                              }
                            },
                            "id": 21071,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "burnTokensOf",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 38095,
                            "src": "28192:62:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_bool_$returns$__$",
                              "typeString": "function (address,uint256,uint256,string memory,bool) external"
                            }
                          },
                          "id": 21077,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "28192:167:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21078,
                        "nodeType": "ExpressionStatement",
                        "src": "28192:167:72"
                      }
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                          "typeString": "contract IJBRedemptionDelegate"
                        },
                        "id": 21087,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 21080,
                          "name": "_delegate",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21038,
                          "src": "28452:9:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                            "typeString": "contract IJBRedemptionDelegate"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "hexValue": "30",
                                  "id": 21084,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "28495:1:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  }
                                ],
                                "id": 21083,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "28487:7:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 21082,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "28487:7:72",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 21085,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "28487:10:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 21081,
                            "name": "IJBRedemptionDelegate",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 38537,
                            "src": "28465:21:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBRedemptionDelegate_$38537_$",
                              "typeString": "type(contract IJBRedemptionDelegate)"
                            }
                          },
                          "id": 21086,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "28465:33:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                            "typeString": "contract IJBRedemptionDelegate"
                          }
                        },
                        "src": "28452:46:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 21122,
                      "nodeType": "IfStatement",
                      "src": "28448:457:72",
                      "trueBody": {
                        "id": 21121,
                        "nodeType": "Block",
                        "src": "28500:405:72",
                        "statements": [
                          {
                            "assignments": [
                              21090
                            ],
                            "declarations": [
                              {
                                "constant": false,
                                "id": 21090,
                                "mutability": "mutable",
                                "name": "_data",
                                "nameLocation": "28533:5:72",
                                "nodeType": "VariableDeclaration",
                                "scope": 21121,
                                "src": "28510:28:72",
                                "stateVariable": false,
                                "storageLocation": "memory",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBDidRedeemData_$35809_memory_ptr",
                                  "typeString": "struct JBDidRedeemData"
                                },
                                "typeName": {
                                  "id": 21089,
                                  "nodeType": "UserDefinedTypeName",
                                  "pathNode": {
                                    "id": 21088,
                                    "name": "JBDidRedeemData",
                                    "nodeType": "IdentifierPath",
                                    "referencedDeclaration": 35809,
                                    "src": "28510:15:72"
                                  },
                                  "referencedDeclaration": 35809,
                                  "src": "28510:15:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBDidRedeemData_$35809_storage_ptr",
                                    "typeString": "struct JBDidRedeemData"
                                  }
                                },
                                "visibility": "internal"
                              }
                            ],
                            "id": 21107,
                            "initialValue": {
                              "arguments": [
                                {
                                  "id": 21092,
                                  "name": "_holder",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21005,
                                  "src": "28568:7:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "id": 21093,
                                  "name": "_projectId",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21007,
                                  "src": "28587:10:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "expression": {
                                    "id": 21094,
                                    "name": "_fundingCycle",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 21034,
                                    "src": "28609:13:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                      "typeString": "struct JBFundingCycle memory"
                                    }
                                  },
                                  "id": 21095,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "configuration",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 35833,
                                  "src": "28609:27:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 21096,
                                  "name": "_tokenCount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21009,
                                  "src": "28648:11:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "arguments": [
                                    {
                                      "id": 21098,
                                      "name": "token",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 22475,
                                      "src": "28685:5:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    },
                                    {
                                      "id": 21099,
                                      "name": "reclaimAmount",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 21020,
                                      "src": "28692:13:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    {
                                      "id": 21100,
                                      "name": "decimals",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 22479,
                                      "src": "28707:8:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    {
                                      "id": 21101,
                                      "name": "currency",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 22483,
                                      "src": "28717:8:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      },
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "id": 21097,
                                    "name": "JBTokenAmount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 38507,
                                    "src": "28671:13:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_struct$_JBTokenAmount_$38507_storage_ptr_$",
                                      "typeString": "type(struct JBTokenAmount storage pointer)"
                                    }
                                  },
                                  "id": 21102,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "structConstructorCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "28671:55:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                    "typeString": "struct JBTokenAmount memory"
                                  }
                                },
                                {
                                  "id": 21103,
                                  "name": "_beneficiary",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21013,
                                  "src": "28738:12:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                {
                                  "id": 21104,
                                  "name": "_memo",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21015,
                                  "src": "28762:5:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_string_memory_ptr",
                                    "typeString": "string memory"
                                  }
                                },
                                {
                                  "id": 21105,
                                  "name": "_metadata",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21017,
                                  "src": "28779:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes_memory_ptr",
                                    "typeString": "bytes memory"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                    "typeString": "struct JBTokenAmount memory"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  },
                                  {
                                    "typeIdentifier": "t_string_memory_ptr",
                                    "typeString": "string memory"
                                  },
                                  {
                                    "typeIdentifier": "t_bytes_memory_ptr",
                                    "typeString": "bytes memory"
                                  }
                                ],
                                "id": 21091,
                                "name": "JBDidRedeemData",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 35809,
                                "src": "28541:15:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_struct$_JBDidRedeemData_$35809_storage_ptr_$",
                                  "typeString": "type(struct JBDidRedeemData storage pointer)"
                                }
                              },
                              "id": 21106,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "structConstructorCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "28541:257:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBDidRedeemData_$35809_memory_ptr",
                                "typeString": "struct JBDidRedeemData memory"
                              }
                            },
                            "nodeType": "VariableDeclarationStatement",
                            "src": "28510:288:72"
                          },
                          {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 21111,
                                  "name": "_data",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21090,
                                  "src": "28828:5:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBDidRedeemData_$35809_memory_ptr",
                                    "typeString": "struct JBDidRedeemData memory"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_struct$_JBDidRedeemData_$35809_memory_ptr",
                                    "typeString": "struct JBDidRedeemData memory"
                                  }
                                ],
                                "expression": {
                                  "id": 21108,
                                  "name": "_delegate",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21038,
                                  "src": "28808:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                                    "typeString": "contract IJBRedemptionDelegate"
                                  }
                                },
                                "id": 21110,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "didRedeem",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 38536,
                                "src": "28808:19:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_nonpayable$_t_struct$_JBDidRedeemData_$35809_memory_ptr_$returns$__$",
                                  "typeString": "function (struct JBDidRedeemData memory) external"
                                }
                              },
                              "id": 21112,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "28808:26:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 21113,
                            "nodeType": "ExpressionStatement",
                            "src": "28808:26:72"
                          },
                          {
                            "eventCall": {
                              "arguments": [
                                {
                                  "id": 21115,
                                  "name": "_delegate",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21038,
                                  "src": "28867:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                                    "typeString": "contract IJBRedemptionDelegate"
                                  }
                                },
                                {
                                  "id": 21116,
                                  "name": "_data",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21090,
                                  "src": "28878:5:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBDidRedeemData_$35809_memory_ptr",
                                    "typeString": "struct JBDidRedeemData memory"
                                  }
                                },
                                {
                                  "expression": {
                                    "id": 21117,
                                    "name": "msg",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": -15,
                                    "src": "28885:3:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_magic_message",
                                      "typeString": "msg"
                                    }
                                  },
                                  "id": 21118,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "sender",
                                  "nodeType": "MemberAccess",
                                  "src": "28885:10:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                                    "typeString": "contract IJBRedemptionDelegate"
                                  },
                                  {
                                    "typeIdentifier": "t_struct$_JBDidRedeemData_$35809_memory_ptr",
                                    "typeString": "struct JBDidRedeemData memory"
                                  },
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 21114,
                                "name": "DelegateDidRedeem",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22898,
                                "src": "28849:17:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_event_nonpayable$_t_contract$_IJBRedemptionDelegate_$38537_$_t_struct$_JBDidRedeemData_$35809_memory_ptr_$_t_address_$returns$__$",
                                  "typeString": "function (contract IJBRedemptionDelegate,struct JBDidRedeemData memory,address)"
                                }
                              },
                              "id": 21119,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "28849:47:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 21120,
                            "nodeType": "EmitStatement",
                            "src": "28844:52:72"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 21126,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 21124,
                      "name": "reclaimAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21020,
                      "src": "28973:13:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 21125,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "28989:1:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "28973:17:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 21136,
                  "nodeType": "IfStatement",
                  "src": "28969:80:72",
                  "trueBody": {
                    "expression": {
                      "arguments": [
                        {
                          "arguments": [
                            {
                              "id": 21130,
                              "name": "this",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -28,
                              "src": "29014:4:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                              }
                            ],
                            "id": 21129,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "29006:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 21128,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "29006:7:72",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 21131,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "29006:13:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        {
                          "id": 21132,
                          "name": "_beneficiary",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21013,
                          "src": "29021:12:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        {
                          "id": 21133,
                          "name": "reclaimAmount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21020,
                          "src": "29035:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 21127,
                        "name": "_transferFrom",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20994,
                        "src": "28992:13:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_payable_$_t_uint256_$returns$__$",
                          "typeString": "function (address,address payable,uint256)"
                        }
                      },
                      "id": 21134,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "28992:57:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 21135,
                    "nodeType": "ExpressionStatement",
                    "src": "28992:57:72"
                  }
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 21138,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21034,
                          "src": "29081:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 21139,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "29081:27:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 21140,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21034,
                          "src": "29116:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 21141,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "number",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35831,
                        "src": "29116:20:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21142,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21007,
                        "src": "29144:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21143,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21005,
                        "src": "29162:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 21144,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21013,
                        "src": "29177:12:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "id": 21145,
                        "name": "_tokenCount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21009,
                        "src": "29197:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21146,
                        "name": "reclaimAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21020,
                        "src": "29216:13:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21147,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21015,
                        "src": "29237:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      },
                      {
                        "id": 21148,
                        "name": "_metadata",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21017,
                        "src": "29250:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      },
                      {
                        "expression": {
                          "id": 21149,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "29267:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 21150,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "29267:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        },
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 21137,
                      "name": "RedeemTokens",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22888,
                      "src": "29061:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_address_$returns$__$",
                        "typeString": "function (uint256,uint256,uint256,address,address,uint256,uint256,string memory,bytes memory,address)"
                      }
                    },
                    "id": 21151,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "29061:222:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 21152,
                  "nodeType": "EmitStatement",
                  "src": "29056:227:72"
                }
              ]
            },
            "documentation": {
              "id": 21003,
              "nodeType": "StructuredDocumentation",
              "src": "25973:1046:72",
              "text": "@notice\nHolders can redeem their tokens to claim the project's overflowed tokens, or to trigger rules determined by the project's current funding cycle's data source.\n@dev\nOnly a token holder or a designated operator can redeem its tokens.\n@param _holder The account to redeem tokens for.\n@param _projectId The ID of the project to which the tokens being redeemed belong.\n@param _tokenCount The number of project tokens to redeem, as a fixed point number with 18 decimals.\n@param _minReturnedTokens The minimum amount of terminal tokens expected in return, as a fixed point number with the same amount of decimals as the terminal.\n@param _beneficiary The address to send the terminal tokens to.\n@param _memo A memo to pass along to the emitted event.\n@param _metadata Bytes to send along to the data source, delegate, and emitted event, if provided.\n@return reclaimAmount The amount of terminal tokens that the project tokens were redeemed for, as a fixed point number with 18 decimals."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_redeemTokensOf",
            "nameLocation": "27031:15:72",
            "parameters": {
              "id": 21018,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21005,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "27060:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21154,
                  "src": "27052:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 21004,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "27052:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21007,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "27081:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21154,
                  "src": "27073:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21006,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "27073:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21009,
                  "mutability": "mutable",
                  "name": "_tokenCount",
                  "nameLocation": "27105:11:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21154,
                  "src": "27097:19:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21008,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "27097:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21011,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "27130:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21154,
                  "src": "27122:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21010,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "27122:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21013,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "27170:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21154,
                  "src": "27154:28:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 21012,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "27154:15:72",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21015,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "27202:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21154,
                  "src": "27188:19:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 21014,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "27188:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21017,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "27226:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21154,
                  "src": "27213:22:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 21016,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "27213:5:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "27046:193:72"
            },
            "returnParameters": {
              "id": 21021,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21020,
                  "mutability": "mutable",
                  "name": "reclaimAmount",
                  "nameLocation": "27266:13:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21154,
                  "src": "27258:21:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21019,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "27258:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "27257:23:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 21310,
            "nodeType": "FunctionDefinition",
            "src": "30648:3540:72",
            "nodes": [],
            "body": {
              "id": 21309,
              "nodeType": "Block",
              "src": "30866:3322:72",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    21172,
                    21174
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 21172,
                      "mutability": "mutable",
                      "name": "_fundingCycle",
                      "nameLocation": "30927:13:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 21309,
                      "src": "30905:35:72",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle"
                      },
                      "typeName": {
                        "id": 21171,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 21170,
                          "name": "JBFundingCycle",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35849,
                          "src": "30905:14:72"
                        },
                        "referencedDeclaration": 35849,
                        "src": "30905:14:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                          "typeString": "struct JBFundingCycle"
                        }
                      },
                      "visibility": "internal"
                    },
                    {
                      "constant": false,
                      "id": 21174,
                      "mutability": "mutable",
                      "name": "_distributedAmount",
                      "nameLocation": "30950:18:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 21309,
                      "src": "30942:26:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 21173,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "30942:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 21181,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 21177,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21157,
                        "src": "31007:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21178,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21159,
                        "src": "31025:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21179,
                        "name": "_currency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21161,
                        "src": "31040:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 21175,
                        "name": "store",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20261,
                        "src": "30972:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                          "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                        }
                      },
                      "id": 21176,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "recordDistributionFor",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23329,
                      "src": "30972:27:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$",
                        "typeString": "function (uint256,uint256,uint256) external returns (struct JBFundingCycle memory,uint256)"
                      }
                    },
                    "id": 21180,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "30972:83:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$",
                      "typeString": "tuple(struct JBFundingCycle memory,uint256)"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "30904:151:72"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 21184,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 21182,
                      "name": "_distributedAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21174,
                      "src": "31144:18:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 21183,
                      "name": "_minReturnedTokens",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21163,
                      "src": "31165:18:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "31144:39:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 21188,
                  "nodeType": "IfStatement",
                  "src": "31140:84:72",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 21185,
                        "name": "INADEQUATE_DISTRIBUTION_AMOUNT",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20188,
                        "src": "31192:30:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 21186,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "31192:32:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 21187,
                    "nodeType": "RevertStatement",
                    "src": "31185:39:72"
                  }
                },
                {
                  "assignments": [
                    21190
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 21190,
                      "mutability": "mutable",
                      "name": "_projectOwner",
                      "nameLocation": "31428:13:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 21309,
                      "src": "31412:29:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      },
                      "typeName": {
                        "id": 21189,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "31412:15:72",
                        "stateMutability": "payable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 21198,
                  "initialValue": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "id": 21195,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21157,
                            "src": "31469:10:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 21193,
                            "name": "projects",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20241,
                            "src": "31452:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBProjects_$38202",
                              "typeString": "contract IJBProjects"
                            }
                          },
                          "id": 21194,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "ownerOf",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 37545,
                          "src": "31452:16:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                            "typeString": "function (uint256) view external returns (address)"
                          }
                        },
                        "id": 21196,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "31452:28:72",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 21192,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "ElementaryTypeNameExpression",
                      "src": "31444:8:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_address_payable_$",
                        "typeString": "type(address payable)"
                      },
                      "typeName": {
                        "id": 21191,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "31444:8:72",
                        "stateMutability": "payable",
                        "typeDescriptions": {}
                      }
                    },
                    "id": 21197,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "31444:37:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "31412:69:72"
                },
                {
                  "assignments": [
                    21200
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 21200,
                      "mutability": "mutable",
                      "name": "_fee",
                      "nameLocation": "31631:4:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 21309,
                      "src": "31623:12:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 21199,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "31623:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 21201,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "31623:12:72"
                },
                {
                  "id": 21292,
                  "nodeType": "Block",
                  "src": "31797:2129:72",
                  "statements": [
                    {
                      "assignments": [
                        21203
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 21203,
                          "mutability": "mutable",
                          "name": "_feeDiscount",
                          "nameLocation": "32028:12:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 21292,
                          "src": "32020:20:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 21202,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "32020:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 21218,
                      "initialValue": {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "id": 21211,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 21206,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 21204,
                              "name": "fee",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20274,
                              "src": "32043:3:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "hexValue": "30",
                              "id": 21205,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "32050:1:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "src": "32043:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "||",
                          "rightExpression": {
                            "baseExpression": {
                              "id": 21207,
                              "name": "isFeelessAddress",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20285,
                              "src": "32055:16:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                                "typeString": "mapping(address => bool)"
                              }
                            },
                            "id": 21210,
                            "indexExpression": {
                              "expression": {
                                "id": 21208,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "32072:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 21209,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "32072:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "32055:28:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "src": "32043:40:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseExpression": {
                          "arguments": [
                            {
                              "id": 21215,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21157,
                              "src": "32153:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 21214,
                            "name": "_currentFeeDiscount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22461,
                            "src": "32133:19:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256) view returns (uint256)"
                            }
                          },
                          "id": 21216,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "32133:31:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 21217,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "Conditional",
                        "src": "32043:121:72",
                        "trueExpression": {
                          "expression": {
                            "id": 21212,
                            "name": "JBConstants",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 35765,
                            "src": "32094:11:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                              "typeString": "type(library JBConstants)"
                            }
                          },
                          "id": 21213,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "MAX_FEE_DISCOUNT",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 35764,
                          "src": "32094:28:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "32020:144:72"
                    },
                    {
                      "assignments": [
                        21220
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 21220,
                          "mutability": "mutable",
                          "name": "_feeEligibleDistributionAmount",
                          "nameLocation": "32250:30:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 21292,
                          "src": "32242:38:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 21219,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "32242:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 21221,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "32242:38:72"
                    },
                    {
                      "assignments": [
                        21223
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 21223,
                          "mutability": "mutable",
                          "name": "_leftoverDistributionAmount",
                          "nameLocation": "32360:27:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 21292,
                          "src": "32352:35:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 21222,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "32352:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 21224,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "32352:35:72"
                    },
                    {
                      "expression": {
                        "id": 21236,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "components": [
                            {
                              "id": 21225,
                              "name": "_leftoverDistributionAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21223,
                              "src": "32616:27:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21226,
                              "name": "_feeEligibleDistributionAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21220,
                              "src": "32645:30:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "id": 21227,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": true,
                          "nodeType": "TupleExpression",
                          "src": "32615:61:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                            "typeString": "tuple(uint256,uint256)"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "arguments": [
                            {
                              "id": 21229,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21157,
                              "src": "32716:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "id": 21230,
                                "name": "_fundingCycle",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21172,
                                "src": "32736:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                  "typeString": "struct JBFundingCycle memory"
                                }
                              },
                              "id": 21231,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "configuration",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 35833,
                              "src": "32736:27:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21232,
                              "name": "payoutSplitsGroup",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20269,
                              "src": "32773:17:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21233,
                              "name": "_distributedAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21174,
                              "src": "32800:18:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21234,
                              "name": "_feeDiscount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21203,
                              "src": "32828:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 21228,
                            "name": "_distributeToPayoutSplitsOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21857,
                            "src": "32679:27:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$_t_uint256_$",
                              "typeString": "function (uint256,uint256,uint256,uint256,uint256) returns (uint256,uint256)"
                            }
                          },
                          "id": 21235,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "32679:169:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                            "typeString": "tuple(uint256,uint256)"
                          }
                        },
                        "src": "32615:233:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_tuple$__$",
                          "typeString": "tuple()"
                        }
                      },
                      "id": 21237,
                      "nodeType": "ExpressionStatement",
                      "src": "32615:233:72"
                    },
                    {
                      "id": 21242,
                      "nodeType": "UncheckedBlock",
                      "src": "32986:90:72",
                      "statements": [
                        {
                          "expression": {
                            "id": 21240,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftHandSide": {
                              "id": 21238,
                              "name": "_feeEligibleDistributionAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21220,
                              "src": "33006:30:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "Assignment",
                            "operator": "+=",
                            "rightHandSide": {
                              "id": 21239,
                              "name": "_leftoverDistributionAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21223,
                              "src": "33040:27:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "33006:61:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 21241,
                          "nodeType": "ExpressionStatement",
                          "src": "33006:61:72"
                        }
                      ]
                    },
                    {
                      "expression": {
                        "id": 21261,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 21243,
                          "name": "_fee",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21200,
                          "src": "33107:4:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "condition": {
                            "commonType": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            },
                            "id": 21251,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 21247,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 21244,
                                "name": "_feeDiscount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21203,
                                "src": "33114:12:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "expression": {
                                  "id": 21245,
                                  "name": "JBConstants",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 35765,
                                  "src": "33130:11:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                                    "typeString": "type(library JBConstants)"
                                  }
                                },
                                "id": 21246,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "MAX_FEE_DISCOUNT",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 35764,
                                "src": "33130:28:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "33114:44:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "||",
                            "rightExpression": {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 21250,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 21248,
                                "name": "_feeEligibleDistributionAmount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21220,
                                "src": "33162:30:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "hexValue": "30",
                                "id": 21249,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "33196:1:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                "value": "0"
                              },
                              "src": "33162:35:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "src": "33114:83:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "falseExpression": {
                            "arguments": [
                              {
                                "id": 21254,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21157,
                                "src": "33244:10:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 21255,
                                "name": "_fundingCycle",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21172,
                                "src": "33266:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                  "typeString": "struct JBFundingCycle memory"
                                }
                              },
                              {
                                "id": 21256,
                                "name": "_feeEligibleDistributionAmount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21220,
                                "src": "33291:30:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 21257,
                                "name": "_projectOwner",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21190,
                                "src": "33333:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              {
                                "id": 21258,
                                "name": "_feeDiscount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21203,
                                "src": "33358:12:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                  "typeString": "struct JBFundingCycle memory"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "id": 21253,
                              "name": "_takeFeeFrom",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21931,
                              "src": "33220:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                                "typeString": "function (uint256,struct JBFundingCycle memory,uint256,address,uint256) returns (uint256)"
                              }
                            },
                            "id": 21259,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "33220:160:72",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 21260,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "Conditional",
                          "src": "33114:266:72",
                          "trueExpression": {
                            "hexValue": "30",
                            "id": 21252,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "33208:1:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "33107:273:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 21262,
                      "nodeType": "ExpressionStatement",
                      "src": "33107:273:72"
                    },
                    {
                      "id": 21278,
                      "nodeType": "UncheckedBlock",
                      "src": "33508:220:72",
                      "statements": [
                        {
                          "expression": {
                            "id": 21276,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftHandSide": {
                              "id": 21263,
                              "name": "netLeftoverDistributionAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21168,
                              "src": "33528:29:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "Assignment",
                            "operator": "=",
                            "rightHandSide": {
                              "condition": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 21266,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 21264,
                                  "name": "_leftoverDistributionAmount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21223,
                                  "src": "33560:27:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "==",
                                "rightExpression": {
                                  "hexValue": "30",
                                  "id": 21265,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "33591:1:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "src": "33560:32:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseExpression": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 21274,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 21268,
                                  "name": "_leftoverDistributionAmount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21223,
                                  "src": "33619:27:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "-",
                                "rightExpression": {
                                  "arguments": [
                                    {
                                      "id": 21270,
                                      "name": "_leftoverDistributionAmount",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 21223,
                                      "src": "33672:27:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    {
                                      "id": 21271,
                                      "name": "fee",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 20274,
                                      "src": "33701:3:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    {
                                      "id": 21272,
                                      "name": "_feeDiscount",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 21203,
                                      "src": "33706:12:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "id": 21269,
                                    "name": "_feeAmount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 22394,
                                    "src": "33661:10:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                      "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                                    }
                                  },
                                  "id": 21273,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "33661:58:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "33619:100:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 21275,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "Conditional",
                              "src": "33560:159:72",
                              "trueExpression": {
                                "hexValue": "30",
                                "id": 21267,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "33605:1:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                "value": "0"
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "33528:191:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 21277,
                          "nodeType": "ExpressionStatement",
                          "src": "33528:191:72"
                        }
                      ]
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 21281,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 21279,
                          "name": "netLeftoverDistributionAmount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21168,
                          "src": "33802:29:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 21280,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "33834:1:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "33802:33:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 21291,
                      "nodeType": "IfStatement",
                      "src": "33798:121:72",
                      "trueBody": {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "id": 21285,
                                  "name": "this",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -28,
                                  "src": "33867:4:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                    "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                    "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                  }
                                ],
                                "id": 21284,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "33859:7:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 21283,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "33859:7:72",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 21286,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "33859:13:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 21287,
                              "name": "_projectOwner",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21190,
                              "src": "33874:13:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "id": 21288,
                              "name": "netLeftoverDistributionAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21168,
                              "src": "33889:29:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 21282,
                            "name": "_transferFrom",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20994,
                            "src": "33845:13:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_payable_$_t_uint256_$returns$__$",
                              "typeString": "function (address,address payable,uint256)"
                            }
                          },
                          "id": 21289,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "33845:74:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21290,
                        "nodeType": "ExpressionStatement",
                        "src": "33845:74:72"
                      }
                    }
                  ]
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 21294,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21172,
                          "src": "33962:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 21295,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "33962:27:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 21296,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21172,
                          "src": "33997:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 21297,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "number",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35831,
                        "src": "33997:20:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21298,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21157,
                        "src": "34025:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21299,
                        "name": "_projectOwner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21190,
                        "src": "34043:13:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "id": 21300,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21159,
                        "src": "34064:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21301,
                        "name": "_distributedAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21174,
                        "src": "34079:18:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21302,
                        "name": "_fee",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21200,
                        "src": "34105:4:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21303,
                        "name": "netLeftoverDistributionAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21168,
                        "src": "34117:29:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21304,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21165,
                        "src": "34154:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        }
                      },
                      {
                        "expression": {
                          "id": 21305,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "34167:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 21306,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "34167:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 21293,
                      "name": "DistributePayouts",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22776,
                      "src": "33937:17:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_address_$returns$__$",
                        "typeString": "function (uint256,uint256,uint256,address,uint256,uint256,uint256,uint256,string memory,address)"
                      }
                    },
                    "id": 21307,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "33937:246:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 21308,
                  "nodeType": "EmitStatement",
                  "src": "33932:251:72"
                }
              ]
            },
            "documentation": {
              "id": 21155,
              "nodeType": "StructuredDocumentation",
              "src": "29292:1353:72",
              "text": "@notice\nDistributes payouts for a project with the distribution limit of its current funding cycle.\n@dev\nPayouts are sent to the preprogrammed splits. Any leftover is sent to the project's owner.\n@dev\nAnyone can distribute payouts on a project's behalf. The project can preconfigure a wildcard split that is used to send funds to msg.sender. This can be used to incentivize calling this function.\n@dev\nAll funds distributed outside of this contract or any feeless terminals incure the protocol fee.\n@param _projectId The ID of the project having its payouts distributed.\n@param _amount The amount of terminal tokens to distribute, as a fixed point number with same number of decimals as this terminal.\n@param _currency The expected currency of the amount being distributed. Must match the project's current funding cycle's distribution limit currency.\n@param _minReturnedTokens The minimum number of terminal tokens that the `_amount` should be valued at in terms of this terminal's currency, as a fixed point number with the same number of decimals as this terminal.\n@param _memo A memo to pass along to the emitted event.\n@return netLeftoverDistributionAmount The amount that was sent to the project owner, as a fixed point number with the same amount of decimals as this terminal."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_distributePayoutsOf",
            "nameLocation": "30657:20:72",
            "parameters": {
              "id": 21166,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21157,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "30691:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21310,
                  "src": "30683:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21156,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "30683:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21159,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "30715:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21310,
                  "src": "30707:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21158,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "30707:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21161,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "30736:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21310,
                  "src": "30728:17:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21160,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "30728:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21163,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "30759:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21310,
                  "src": "30751:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21162,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "30751:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21165,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "30799:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21310,
                  "src": "30783:21:72",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 21164,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "30783:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "30677:131:72"
            },
            "returnParameters": {
              "id": 21169,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21168,
                  "mutability": "mutable",
                  "name": "netLeftoverDistributionAmount",
                  "nameLocation": "30835:29:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21310,
                  "src": "30827:37:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21167,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "30827:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "30826:39:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 21427,
            "nodeType": "FunctionDefinition",
            "src": "35287:2145:72",
            "nodes": [],
            "body": {
              "id": 21426,
              "nodeType": "Block",
              "src": "35523:1909:72",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    21330,
                    21332
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 21330,
                      "mutability": "mutable",
                      "name": "_fundingCycle",
                      "nameLocation": "35592:13:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 21426,
                      "src": "35570:35:72",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle"
                      },
                      "typeName": {
                        "id": 21329,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 21328,
                          "name": "JBFundingCycle",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35849,
                          "src": "35570:14:72"
                        },
                        "referencedDeclaration": 35849,
                        "src": "35570:14:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                          "typeString": "struct JBFundingCycle"
                        }
                      },
                      "visibility": "internal"
                    },
                    {
                      "constant": false,
                      "id": 21332,
                      "mutability": "mutable",
                      "name": "_distributedAmount",
                      "nameLocation": "35615:18:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 21426,
                      "src": "35607:26:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 21331,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "35607:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 21339,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 21335,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21313,
                        "src": "35672:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21336,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21315,
                        "src": "35690:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21337,
                        "name": "_currency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21317,
                        "src": "35705:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 21333,
                        "name": "store",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20261,
                        "src": "35637:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                          "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                        }
                      },
                      "id": 21334,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "recordUsedAllowanceOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23343,
                      "src": "35637:27:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$",
                        "typeString": "function (uint256,uint256,uint256) external returns (struct JBFundingCycle memory,uint256)"
                      }
                    },
                    "id": 21338,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "35637:83:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$",
                      "typeString": "tuple(struct JBFundingCycle memory,uint256)"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "35569:151:72"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 21342,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 21340,
                      "name": "_distributedAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21332,
                      "src": "35807:18:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 21341,
                      "name": "_minReturnedTokens",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21319,
                      "src": "35828:18:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "35807:39:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 21346,
                  "nodeType": "IfStatement",
                  "src": "35803:84:72",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 21343,
                        "name": "INADEQUATE_DISTRIBUTION_AMOUNT",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20188,
                        "src": "35855:30:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 21344,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "35855:32:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 21345,
                    "nodeType": "RevertStatement",
                    "src": "35848:39:72"
                  }
                },
                {
                  "id": 21410,
                  "nodeType": "Block",
                  "src": "36023:1174:72",
                  "statements": [
                    {
                      "assignments": [
                        21348
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 21348,
                          "mutability": "mutable",
                          "name": "_fee",
                          "nameLocation": "36098:4:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 21410,
                          "src": "36090:12:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 21347,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "36090:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 21349,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "36090:12:72"
                    },
                    {
                      "assignments": [
                        21351
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 21351,
                          "mutability": "mutable",
                          "name": "_projectOwner",
                          "nameLocation": "36222:13:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 21410,
                          "src": "36214:21:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          "typeName": {
                            "id": 21350,
                            "name": "address",
                            "nodeType": "ElementaryTypeName",
                            "src": "36214:7:72",
                            "stateMutability": "nonpayable",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 21356,
                      "initialValue": {
                        "arguments": [
                          {
                            "id": 21354,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21313,
                            "src": "36255:10:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 21352,
                            "name": "projects",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20241,
                            "src": "36238:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBProjects_$38202",
                              "typeString": "contract IJBProjects"
                            }
                          },
                          "id": 21353,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "ownerOf",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 37545,
                          "src": "36238:16:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                            "typeString": "function (uint256) view external returns (address)"
                          }
                        },
                        "id": 21355,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "36238:28:72",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "36214:52:72"
                    },
                    {
                      "assignments": [
                        21358
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 21358,
                          "mutability": "mutable",
                          "name": "_feeDiscount",
                          "nameLocation": "36498:12:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 21410,
                          "src": "36490:20:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 21357,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "36490:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 21373,
                      "initialValue": {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "id": 21366,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 21361,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 21359,
                              "name": "fee",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20274,
                              "src": "36513:3:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "hexValue": "30",
                              "id": 21360,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "36520:1:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "src": "36513:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "||",
                          "rightExpression": {
                            "baseExpression": {
                              "id": 21362,
                              "name": "isFeelessAddress",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20285,
                              "src": "36525:16:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                                "typeString": "mapping(address => bool)"
                              }
                            },
                            "id": 21365,
                            "indexExpression": {
                              "expression": {
                                "id": 21363,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "36542:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 21364,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "36542:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "36525:28:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "src": "36513:40:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseExpression": {
                          "arguments": [
                            {
                              "id": 21370,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21313,
                              "src": "36623:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 21369,
                            "name": "_currentFeeDiscount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22461,
                            "src": "36603:19:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256) view returns (uint256)"
                            }
                          },
                          "id": 21371,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "36603:31:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 21372,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "Conditional",
                        "src": "36513:121:72",
                        "trueExpression": {
                          "expression": {
                            "id": 21367,
                            "name": "JBConstants",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 35765,
                            "src": "36564:11:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                              "typeString": "type(library JBConstants)"
                            }
                          },
                          "id": 21368,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "MAX_FEE_DISCOUNT",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 35764,
                          "src": "36564:28:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "36490:144:72"
                    },
                    {
                      "expression": {
                        "id": 21388,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 21374,
                          "name": "_fee",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21348,
                          "src": "36705:4:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "condition": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 21378,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 21375,
                              "name": "_feeDiscount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21358,
                              "src": "36712:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "expression": {
                                "id": 21376,
                                "name": "JBConstants",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 35765,
                                "src": "36728:11:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                                  "typeString": "type(library JBConstants)"
                                }
                              },
                              "id": 21377,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "MAX_FEE_DISCOUNT",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 35764,
                              "src": "36728:28:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "36712:44:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "falseExpression": {
                            "arguments": [
                              {
                                "id": 21381,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21313,
                                "src": "36792:10:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 21382,
                                "name": "_fundingCycle",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21330,
                                "src": "36804:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                  "typeString": "struct JBFundingCycle memory"
                                }
                              },
                              {
                                "id": 21383,
                                "name": "_distributedAmount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21332,
                                "src": "36819:18:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 21384,
                                "name": "_projectOwner",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21351,
                                "src": "36839:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              {
                                "id": 21385,
                                "name": "_feeDiscount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21358,
                                "src": "36854:12:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                  "typeString": "struct JBFundingCycle memory"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "id": 21380,
                              "name": "_takeFeeFrom",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21931,
                              "src": "36779:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                                "typeString": "function (uint256,struct JBFundingCycle memory,uint256,address,uint256) returns (uint256)"
                              }
                            },
                            "id": 21386,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "36779:88:72",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 21387,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "Conditional",
                          "src": "36712:155:72",
                          "trueExpression": {
                            "hexValue": "30",
                            "id": 21379,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "36767:1:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "36705:162:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 21389,
                      "nodeType": "ExpressionStatement",
                      "src": "36705:162:72"
                    },
                    {
                      "id": 21396,
                      "nodeType": "UncheckedBlock",
                      "src": "36876:144:72",
                      "statements": [
                        {
                          "expression": {
                            "id": 21394,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftHandSide": {
                              "id": 21390,
                              "name": "netDistributedAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21326,
                              "src": "36963:20:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "Assignment",
                            "operator": "=",
                            "rightHandSide": {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 21393,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 21391,
                                "name": "_distributedAmount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21332,
                                "src": "36986:18:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "-",
                              "rightExpression": {
                                "id": 21392,
                                "name": "_fee",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21348,
                                "src": "37007:4:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "36986:25:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "36963:48:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 21395,
                          "nodeType": "ExpressionStatement",
                          "src": "36963:48:72"
                        }
                      ]
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 21399,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 21397,
                          "name": "netDistributedAmount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21326,
                          "src": "37092:20:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 21398,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "37115:1:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "37092:24:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 21409,
                      "nodeType": "IfStatement",
                      "src": "37088:102:72",
                      "trueBody": {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "id": 21403,
                                  "name": "this",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -28,
                                  "src": "37148:4:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                    "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                    "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                  }
                                ],
                                "id": 21402,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "37140:7:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 21401,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "37140:7:72",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 21404,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "37140:13:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 21405,
                              "name": "_beneficiary",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21321,
                              "src": "37155:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "id": 21406,
                              "name": "netDistributedAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21326,
                              "src": "37169:20:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 21400,
                            "name": "_transferFrom",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20994,
                            "src": "37126:13:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_payable_$_t_uint256_$returns$__$",
                              "typeString": "function (address,address payable,uint256)"
                            }
                          },
                          "id": 21407,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "37126:64:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21408,
                        "nodeType": "ExpressionStatement",
                        "src": "37126:64:72"
                      }
                    }
                  ]
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 21412,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21330,
                          "src": "37228:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 21413,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "37228:27:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 21414,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21330,
                          "src": "37263:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 21415,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "number",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35831,
                        "src": "37263:20:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21416,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21313,
                        "src": "37291:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21417,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21321,
                        "src": "37309:12:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "id": 21418,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21315,
                        "src": "37329:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21419,
                        "name": "_distributedAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21332,
                        "src": "37344:18:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21420,
                        "name": "netDistributedAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21326,
                        "src": "37370:20:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21421,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21323,
                        "src": "37398:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      },
                      {
                        "expression": {
                          "id": 21422,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "37411:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 21423,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "37411:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 21411,
                      "name": "UseAllowance",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22796,
                      "src": "37208:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_address_$returns$__$",
                        "typeString": "function (uint256,uint256,uint256,address,uint256,uint256,uint256,string memory,address)"
                      }
                    },
                    "id": 21424,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "37208:219:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 21425,
                  "nodeType": "EmitStatement",
                  "src": "37203:224:72"
                }
              ]
            },
            "documentation": {
              "id": 21311,
              "nodeType": "StructuredDocumentation",
              "src": "34192:1092:72",
              "text": "@notice\nAllows a project to send funds from its overflow up to the preconfigured allowance.\n@dev\nOnly a project's owner or a designated operator can use its allowance.\n@dev\nIncurs the protocol fee.\n@param _projectId The ID of the project to use the allowance of.\n@param _amount The amount of terminal tokens to use from this project's current allowance, as a fixed point number with the same amount of decimals as this terminal.\n@param _currency The expected currency of the amount being distributed. Must match the project's current funding cycle's overflow allowance currency.\n@param _minReturnedTokens The minimum number of tokens that the `_amount` should be valued at in terms of this terminal's currency, as a fixed point number with 18 decimals.\n@param _beneficiary The address to send the funds to.\n@param _memo A memo to pass along to the emitted event.\n@return netDistributedAmount The amount of tokens that was distributed to the beneficiary, as a fixed point number with the same amount of decimals as the terminal."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_useAllowanceOf",
            "nameLocation": "35296:15:72",
            "parameters": {
              "id": 21324,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21313,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "35325:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21427,
                  "src": "35317:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21312,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35317:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21315,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "35349:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21427,
                  "src": "35341:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21314,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35341:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21317,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "35370:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21427,
                  "src": "35362:17:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21316,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35362:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21319,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "35393:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21427,
                  "src": "35385:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21318,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35385:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21321,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "35433:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21427,
                  "src": "35417:28:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 21320,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "35417:15:72",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21323,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "35465:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21427,
                  "src": "35451:19:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 21322,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "35451:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "35311:163:72"
            },
            "returnParameters": {
              "id": 21327,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21326,
                  "mutability": "mutable",
                  "name": "netDistributedAmount",
                  "nameLocation": "35501:20:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21427,
                  "src": "35493:28:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21325,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35493:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "35492:30:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 21857,
            "nodeType": "FunctionDefinition",
            "src": "38194:6866:72",
            "nodes": [],
            "body": {
              "id": 21856,
              "nodeType": "Block",
              "src": "38428:6632:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 21447,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 21445,
                      "name": "leftoverAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21441,
                      "src": "38488:14:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 21446,
                      "name": "_amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21436,
                      "src": "38505:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "38488:24:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 21448,
                  "nodeType": "ExpressionStatement",
                  "src": "38488:24:72"
                },
                {
                  "assignments": [
                    21453
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 21453,
                      "mutability": "mutable",
                      "name": "_splits",
                      "nameLocation": "38591:7:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 21856,
                      "src": "38574:24:72",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_JBSplit_$35998_memory_ptr_$dyn_memory_ptr",
                        "typeString": "struct JBSplit[]"
                      },
                      "typeName": {
                        "baseType": {
                          "id": 21451,
                          "nodeType": "UserDefinedTypeName",
                          "pathNode": {
                            "id": 21450,
                            "name": "JBSplit",
                            "nodeType": "IdentifierPath",
                            "referencedDeclaration": 35998,
                            "src": "38574:7:72"
                          },
                          "referencedDeclaration": 35998,
                          "src": "38574:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBSplit_$35998_storage_ptr",
                            "typeString": "struct JBSplit"
                          }
                        },
                        "id": 21452,
                        "nodeType": "ArrayTypeName",
                        "src": "38574:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_JBSplit_$35998_storage_$dyn_storage_ptr",
                          "typeString": "struct JBSplit[]"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 21460,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 21456,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21430,
                        "src": "38622:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21457,
                        "name": "_domain",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21432,
                        "src": "38634:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21458,
                        "name": "_group",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21434,
                        "src": "38643:6:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 21454,
                        "name": "splitsStore",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20251,
                        "src": "38601:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSplitsStore_$38267",
                          "typeString": "contract IJBSplitsStore"
                        }
                      },
                      "id": 21455,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "splitsOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 38255,
                      "src": "38601:20:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_array$_t_struct$_JBSplit_$35998_memory_ptr_$dyn_memory_ptr_$",
                        "typeString": "function (uint256,uint256,uint256) view external returns (struct JBSplit memory[] memory)"
                      }
                    },
                    "id": 21459,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "38601:49:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_JBSplit_$35998_memory_ptr_$dyn_memory_ptr",
                      "typeString": "struct JBSplit memory[] memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "38574:76:72"
                },
                {
                  "body": {
                    "id": 21854,
                    "nodeType": "Block",
                    "src": "38737:6319:72",
                    "statements": [
                      {
                        "assignments": [
                          21471
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 21471,
                            "mutability": "mutable",
                            "name": "_split",
                            "nameLocation": "38817:6:72",
                            "nodeType": "VariableDeclaration",
                            "scope": 21854,
                            "src": "38802:21:72",
                            "stateVariable": false,
                            "storageLocation": "memory",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                              "typeString": "struct JBSplit"
                            },
                            "typeName": {
                              "id": 21470,
                              "nodeType": "UserDefinedTypeName",
                              "pathNode": {
                                "id": 21469,
                                "name": "JBSplit",
                                "nodeType": "IdentifierPath",
                                "referencedDeclaration": 35998,
                                "src": "38802:7:72"
                              },
                              "referencedDeclaration": 35998,
                              "src": "38802:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBSplit_$35998_storage_ptr",
                                "typeString": "struct JBSplit"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 21475,
                        "initialValue": {
                          "baseExpression": {
                            "id": 21472,
                            "name": "_splits",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21453,
                            "src": "38826:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_JBSplit_$35998_memory_ptr_$dyn_memory_ptr",
                              "typeString": "struct JBSplit memory[] memory"
                            }
                          },
                          "id": 21474,
                          "indexExpression": {
                            "id": 21473,
                            "name": "_i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21462,
                            "src": "38834:2:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "38826:11:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                            "typeString": "struct JBSplit memory"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "38802:35:72"
                      },
                      {
                        "assignments": [
                          21477
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 21477,
                            "mutability": "mutable",
                            "name": "_payoutAmount",
                            "nameLocation": "38901:13:72",
                            "nodeType": "VariableDeclaration",
                            "scope": 21854,
                            "src": "38893:21:72",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 21476,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "38893:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 21486,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 21480,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21436,
                              "src": "38941:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "id": 21481,
                                "name": "_split",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21471,
                                "src": "38958:6:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                  "typeString": "struct JBSplit memory"
                                }
                              },
                              "id": 21482,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "percent",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 35988,
                              "src": "38958:14:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "id": 21483,
                                "name": "JBConstants",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 35765,
                                "src": "38982:11:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                                  "typeString": "type(library JBConstants)"
                                }
                              },
                              "id": 21484,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "SPLITS_TOTAL_PERCENT",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 35758,
                              "src": "38982:32:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 21478,
                              "name": "PRBMath",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26107,
                              "src": "38917:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                                "typeString": "type(library PRBMath)"
                              }
                            },
                            "id": 21479,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "mulDiv",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 25696,
                            "src": "38917:14:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 21485,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "38917:105:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "38893:129:72"
                      },
                      {
                        "assignments": [
                          21488
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 21488,
                            "mutability": "mutable",
                            "name": "_netPayoutAmount",
                            "nameLocation": "39109:16:72",
                            "nodeType": "VariableDeclaration",
                            "scope": 21854,
                            "src": "39101:24:72",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 21487,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "39101:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 21489,
                        "nodeType": "VariableDeclarationStatement",
                        "src": "39101:24:72"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 21492,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 21490,
                            "name": "_payoutAmount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21477,
                            "src": "39138:13:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "hexValue": "30",
                            "id": 21491,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "39154:1:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "39138:17:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 21839,
                        "nodeType": "IfStatement",
                        "src": "39134:5715:72",
                        "trueBody": {
                          "id": 21838,
                          "nodeType": "Block",
                          "src": "39157:5692:72",
                          "statements": [
                            {
                              "condition": {
                                "commonType": {
                                  "typeIdentifier": "t_contract$_IJBSplitAllocator_$32009",
                                  "typeString": "contract IJBSplitAllocator"
                                },
                                "id": 21501,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "expression": {
                                    "id": 21493,
                                    "name": "_split",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 21471,
                                    "src": "39289:6:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                      "typeString": "struct JBSplit memory"
                                    }
                                  },
                                  "id": 21494,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "allocator",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 35997,
                                  "src": "39289:16:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBSplitAllocator_$32009",
                                    "typeString": "contract IJBSplitAllocator"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "arguments": [
                                    {
                                      "arguments": [
                                        {
                                          "hexValue": "30",
                                          "id": 21498,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "39335:1:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_0_by_1",
                                            "typeString": "int_const 0"
                                          },
                                          "value": "0"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_rational_0_by_1",
                                            "typeString": "int_const 0"
                                          }
                                        ],
                                        "id": 21497,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "lValueRequested": false,
                                        "nodeType": "ElementaryTypeNameExpression",
                                        "src": "39327:7:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_type$_t_address_$",
                                          "typeString": "type(address)"
                                        },
                                        "typeName": {
                                          "id": 21496,
                                          "name": "address",
                                          "nodeType": "ElementaryTypeName",
                                          "src": "39327:7:72",
                                          "typeDescriptions": {}
                                        }
                                      },
                                      "id": 21499,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "typeConversion",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "39327:10:72",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 21495,
                                    "name": "IJBSplitAllocator",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 32009,
                                    "src": "39309:17:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_IJBSplitAllocator_$32009_$",
                                      "typeString": "type(contract IJBSplitAllocator)"
                                    }
                                  },
                                  "id": 21500,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "39309:29:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBSplitAllocator_$32009",
                                    "typeString": "contract IJBSplitAllocator"
                                  }
                                },
                                "src": "39289:49:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseBody": {
                                "condition": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 21581,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "expression": {
                                      "id": 21578,
                                      "name": "_split",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 21471,
                                      "src": "40873:6:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                        "typeString": "struct JBSplit memory"
                                      }
                                    },
                                    "id": 21579,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "projectId",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 35990,
                                    "src": "40873:16:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "!=",
                                  "rightExpression": {
                                    "hexValue": "30",
                                    "id": 21580,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "40893:1:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_0_by_1",
                                      "typeString": "int_const 0"
                                    },
                                    "value": "0"
                                  },
                                  "src": "40873:21:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "falseBody": {
                                  "id": 21828,
                                  "nodeType": "Block",
                                  "src": "43999:685:72",
                                  "statements": [
                                    {
                                      "id": 21800,
                                      "nodeType": "UncheckedBlock",
                                      "src": "44011:207:72",
                                      "statements": [
                                        {
                                          "expression": {
                                            "id": 21798,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "leftHandSide": {
                                              "id": 21784,
                                              "name": "_netPayoutAmount",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 21488,
                                              "src": "44035:16:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "nodeType": "Assignment",
                                            "operator": "=",
                                            "rightHandSide": {
                                              "condition": {
                                                "commonType": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                },
                                                "id": 21788,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "leftExpression": {
                                                  "id": 21785,
                                                  "name": "_feeDiscount",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 21438,
                                                  "src": "44054:12:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "nodeType": "BinaryOperation",
                                                "operator": "==",
                                                "rightExpression": {
                                                  "expression": {
                                                    "id": 21786,
                                                    "name": "JBConstants",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 35765,
                                                    "src": "44070:11:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                                                      "typeString": "type(library JBConstants)"
                                                    }
                                                  },
                                                  "id": 21787,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "memberName": "MAX_FEE_DISCOUNT",
                                                  "nodeType": "MemberAccess",
                                                  "referencedDeclaration": 35764,
                                                  "src": "44070:28:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "src": "44054:44:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_bool",
                                                  "typeString": "bool"
                                                }
                                              },
                                              "falseExpression": {
                                                "commonType": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                },
                                                "id": 21796,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "leftExpression": {
                                                  "id": 21790,
                                                  "name": "_payoutAmount",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 21477,
                                                  "src": "44145:13:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "nodeType": "BinaryOperation",
                                                "operator": "-",
                                                "rightExpression": {
                                                  "arguments": [
                                                    {
                                                      "id": 21792,
                                                      "name": "_payoutAmount",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21477,
                                                      "src": "44172:13:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    },
                                                    {
                                                      "id": 21793,
                                                      "name": "fee",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 20274,
                                                      "src": "44187:3:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    },
                                                    {
                                                      "id": 21794,
                                                      "name": "_feeDiscount",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21438,
                                                      "src": "44192:12:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    }
                                                  ],
                                                  "expression": {
                                                    "argumentTypes": [
                                                      {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    ],
                                                    "id": 21791,
                                                    "name": "_feeAmount",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 22394,
                                                    "src": "44161:10:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                                      "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                                                    }
                                                  },
                                                  "id": 21795,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "kind": "functionCall",
                                                  "lValueRequested": false,
                                                  "names": [],
                                                  "nodeType": "FunctionCall",
                                                  "src": "44161:44:72",
                                                  "tryCall": false,
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "src": "44145:60:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "id": 21797,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "Conditional",
                                              "src": "44054:151:72",
                                              "trueExpression": {
                                                "id": 21789,
                                                "name": "_payoutAmount",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21477,
                                                "src": "44115:13:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "src": "44035:170:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          },
                                          "id": 21799,
                                          "nodeType": "ExpressionStatement",
                                          "src": "44035:170:72"
                                        }
                                      ]
                                    },
                                    {
                                      "expression": {
                                        "id": 21803,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftHandSide": {
                                          "id": 21801,
                                          "name": "feeEligibleDistributionAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21443,
                                          "src": "44326:29:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "nodeType": "Assignment",
                                        "operator": "+=",
                                        "rightHandSide": {
                                          "id": 21802,
                                          "name": "_payoutAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21477,
                                          "src": "44359:13:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "src": "44326:46:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "id": 21804,
                                      "nodeType": "ExpressionStatement",
                                      "src": "44326:46:72"
                                    },
                                    {
                                      "expression": {
                                        "arguments": [
                                          {
                                            "arguments": [
                                              {
                                                "id": 21808,
                                                "name": "this",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": -28,
                                                "src": "44537:4:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                                  "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                                }
                                              }
                                            ],
                                            "expression": {
                                              "argumentTypes": [
                                                {
                                                  "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                                  "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                                }
                                              ],
                                              "id": 21807,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "lValueRequested": false,
                                              "nodeType": "ElementaryTypeNameExpression",
                                              "src": "44529:7:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_type$_t_address_$",
                                                "typeString": "type(address)"
                                              },
                                              "typeName": {
                                                "id": 21806,
                                                "name": "address",
                                                "nodeType": "ElementaryTypeName",
                                                "src": "44529:7:72",
                                                "typeDescriptions": {}
                                              }
                                            },
                                            "id": 21809,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "kind": "typeConversion",
                                            "lValueRequested": false,
                                            "names": [],
                                            "nodeType": "FunctionCall",
                                            "src": "44529:13:72",
                                            "tryCall": false,
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          },
                                          {
                                            "condition": {
                                              "commonType": {
                                                "typeIdentifier": "t_address",
                                                "typeString": "address"
                                              },
                                              "id": 21816,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "leftExpression": {
                                                "expression": {
                                                  "id": 21810,
                                                  "name": "_split",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 21471,
                                                  "src": "44556:6:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                    "typeString": "struct JBSplit memory"
                                                  }
                                                },
                                                "id": 21811,
                                                "isConstant": false,
                                                "isLValue": true,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberName": "beneficiary",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 35992,
                                                "src": "44556:18:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_address_payable",
                                                  "typeString": "address payable"
                                                }
                                              },
                                              "nodeType": "BinaryOperation",
                                              "operator": "!=",
                                              "rightExpression": {
                                                "arguments": [
                                                  {
                                                    "hexValue": "30",
                                                    "id": 21814,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "kind": "number",
                                                    "lValueRequested": false,
                                                    "nodeType": "Literal",
                                                    "src": "44586:1:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_rational_0_by_1",
                                                      "typeString": "int_const 0"
                                                    },
                                                    "value": "0"
                                                  }
                                                ],
                                                "expression": {
                                                  "argumentTypes": [
                                                    {
                                                      "typeIdentifier": "t_rational_0_by_1",
                                                      "typeString": "int_const 0"
                                                    }
                                                  ],
                                                  "id": 21813,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": true,
                                                  "lValueRequested": false,
                                                  "nodeType": "ElementaryTypeNameExpression",
                                                  "src": "44578:7:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_type$_t_address_$",
                                                    "typeString": "type(address)"
                                                  },
                                                  "typeName": {
                                                    "id": 21812,
                                                    "name": "address",
                                                    "nodeType": "ElementaryTypeName",
                                                    "src": "44578:7:72",
                                                    "typeDescriptions": {}
                                                  }
                                                },
                                                "id": 21815,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "kind": "typeConversion",
                                                "lValueRequested": false,
                                                "names": [],
                                                "nodeType": "FunctionCall",
                                                "src": "44578:10:72",
                                                "tryCall": false,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_address",
                                                  "typeString": "address"
                                                }
                                              },
                                              "src": "44556:32:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bool",
                                                "typeString": "bool"
                                              }
                                            },
                                            "falseExpression": {
                                              "arguments": [
                                                {
                                                  "expression": {
                                                    "id": 21821,
                                                    "name": "msg",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": -15,
                                                    "src": "44620:3:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_magic_message",
                                                      "typeString": "msg"
                                                    }
                                                  },
                                                  "id": 21822,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "memberName": "sender",
                                                  "nodeType": "MemberAccess",
                                                  "src": "44620:10:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_address",
                                                    "typeString": "address"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_address",
                                                    "typeString": "address"
                                                  }
                                                ],
                                                "id": 21820,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "lValueRequested": false,
                                                "nodeType": "ElementaryTypeNameExpression",
                                                "src": "44612:8:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_type$_t_address_payable_$",
                                                  "typeString": "type(address payable)"
                                                },
                                                "typeName": {
                                                  "id": 21819,
                                                  "name": "address",
                                                  "nodeType": "ElementaryTypeName",
                                                  "src": "44612:8:72",
                                                  "stateMutability": "payable",
                                                  "typeDescriptions": {}
                                                }
                                              },
                                              "id": 21823,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "typeConversion",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "44612:19:72",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            },
                                            "id": 21824,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "Conditional",
                                            "src": "44556:75:72",
                                            "trueExpression": {
                                              "expression": {
                                                "id": 21817,
                                                "name": "_split",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21471,
                                                "src": "44591:6:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                  "typeString": "struct JBSplit memory"
                                                }
                                              },
                                              "id": 21818,
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "memberName": "beneficiary",
                                              "nodeType": "MemberAccess",
                                              "referencedDeclaration": 35992,
                                              "src": "44591:18:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            },
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address_payable",
                                              "typeString": "address payable"
                                            }
                                          },
                                          {
                                            "id": 21825,
                                            "name": "_netPayoutAmount",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 21488,
                                            "src": "44645:16:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            },
                                            {
                                              "typeIdentifier": "t_address_payable",
                                              "typeString": "address payable"
                                            },
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          ],
                                          "id": 21805,
                                          "name": "_transferFrom",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 20994,
                                          "src": "44502:13:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_payable_$_t_uint256_$returns$__$",
                                            "typeString": "function (address,address payable,uint256)"
                                          }
                                        },
                                        "id": 21826,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "functionCall",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "44502:171:72",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_tuple$__$",
                                          "typeString": "tuple()"
                                        }
                                      },
                                      "id": 21827,
                                      "nodeType": "ExpressionStatement",
                                      "src": "44502:171:72"
                                    }
                                  ]
                                },
                                "id": 21829,
                                "nodeType": "IfStatement",
                                "src": "40869:3815:72",
                                "trueBody": {
                                  "id": 21783,
                                  "nodeType": "Block",
                                  "src": "40896:3097:72",
                                  "statements": [
                                    {
                                      "assignments": [
                                        21584
                                      ],
                                      "declarations": [
                                        {
                                          "constant": false,
                                          "id": 21584,
                                          "mutability": "mutable",
                                          "name": "_terminal",
                                          "nameLocation": "40993:9:72",
                                          "nodeType": "VariableDeclaration",
                                          "scope": 21783,
                                          "src": "40974:28:72",
                                          "stateVariable": false,
                                          "storageLocation": "default",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                            "typeString": "contract IJBPaymentTerminal"
                                          },
                                          "typeName": {
                                            "id": 21583,
                                            "nodeType": "UserDefinedTypeName",
                                            "pathNode": {
                                              "id": 21582,
                                              "name": "IJBPaymentTerminal",
                                              "nodeType": "IdentifierPath",
                                              "referencedDeclaration": 31994,
                                              "src": "40974:18:72"
                                            },
                                            "referencedDeclaration": 31994,
                                            "src": "40974:18:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                              "typeString": "contract IJBPaymentTerminal"
                                            }
                                          },
                                          "visibility": "internal"
                                        }
                                      ],
                                      "id": 21591,
                                      "initialValue": {
                                        "arguments": [
                                          {
                                            "expression": {
                                              "id": 21587,
                                              "name": "_split",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 21471,
                                              "src": "41033:6:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                "typeString": "struct JBSplit memory"
                                              }
                                            },
                                            "id": 21588,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "projectId",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 35990,
                                            "src": "41033:16:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          },
                                          {
                                            "id": 21589,
                                            "name": "token",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 22475,
                                            "src": "41051:5:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            },
                                            {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          ],
                                          "expression": {
                                            "id": 21585,
                                            "name": "directory",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 20246,
                                            "src": "41005:9:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                                              "typeString": "contract IJBDirectory"
                                            }
                                          },
                                          "id": 21586,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "primaryTerminalOf",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 31890,
                                          "src": "41005:27:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_external_view$_t_uint256_$_t_address_$returns$_t_contract$_IJBPaymentTerminal_$31994_$",
                                            "typeString": "function (uint256,address) view external returns (contract IJBPaymentTerminal)"
                                          }
                                        },
                                        "id": 21590,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "functionCall",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "41005:52:72",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                          "typeString": "contract IJBPaymentTerminal"
                                        }
                                      },
                                      "nodeType": "VariableDeclarationStatement",
                                      "src": "40974:83:72"
                                    },
                                    {
                                      "condition": {
                                        "commonType": {
                                          "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                          "typeString": "contract IJBPaymentTerminal"
                                        },
                                        "id": 21599,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "id": 21592,
                                          "name": "_terminal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21584,
                                          "src": "41138:9:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                            "typeString": "contract IJBPaymentTerminal"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "==",
                                        "rightExpression": {
                                          "arguments": [
                                            {
                                              "arguments": [
                                                {
                                                  "hexValue": "30",
                                                  "id": 21596,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": true,
                                                  "kind": "number",
                                                  "lValueRequested": false,
                                                  "nodeType": "Literal",
                                                  "src": "41178:1:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_rational_0_by_1",
                                                    "typeString": "int_const 0"
                                                  },
                                                  "value": "0"
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_rational_0_by_1",
                                                    "typeString": "int_const 0"
                                                  }
                                                ],
                                                "id": 21595,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "lValueRequested": false,
                                                "nodeType": "ElementaryTypeNameExpression",
                                                "src": "41170:7:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_type$_t_address_$",
                                                  "typeString": "type(address)"
                                                },
                                                "typeName": {
                                                  "id": 21594,
                                                  "name": "address",
                                                  "nodeType": "ElementaryTypeName",
                                                  "src": "41170:7:72",
                                                  "typeDescriptions": {}
                                                }
                                              },
                                              "id": 21597,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "typeConversion",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "41170:10:72",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_address",
                                                "typeString": "address"
                                              }
                                            }
                                          ],
                                          "expression": {
                                            "argumentTypes": [
                                              {
                                                "typeIdentifier": "t_address",
                                                "typeString": "address"
                                              }
                                            ],
                                            "id": 21593,
                                            "name": "IJBPaymentTerminal",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 31994,
                                            "src": "41151:18:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_type$_t_contract$_IJBPaymentTerminal_$31994_$",
                                              "typeString": "type(contract IJBPaymentTerminal)"
                                            }
                                          },
                                          "id": 21598,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "typeConversion",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "41151:30:72",
                                          "tryCall": false,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                            "typeString": "contract IJBPaymentTerminal"
                                          }
                                        },
                                        "src": "41138:43:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "id": 21603,
                                      "nodeType": "IfStatement",
                                      "src": "41134:88:72",
                                      "trueBody": {
                                        "errorCall": {
                                          "arguments": [],
                                          "expression": {
                                            "argumentTypes": [],
                                            "id": 21600,
                                            "name": "TERMINAL_IN_SPLIT_ZERO_ADDRESS",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 20202,
                                            "src": "41190:30:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_function_error_pure$__$returns$__$",
                                              "typeString": "function () pure"
                                            }
                                          },
                                          "id": 21601,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "kind": "functionCall",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "41190:32:72",
                                          "tryCall": false,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_tuple$__$",
                                            "typeString": "tuple()"
                                          }
                                        },
                                        "id": 21602,
                                        "nodeType": "RevertStatement",
                                        "src": "41183:39:72"
                                      }
                                    },
                                    {
                                      "condition": {
                                        "commonType": {
                                          "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                          "typeString": "contract IJBPaymentTerminal"
                                        },
                                        "id": 21606,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "id": 21604,
                                          "name": "_terminal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21584,
                                          "src": "41309:9:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                            "typeString": "contract IJBPaymentTerminal"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "==",
                                        "rightExpression": {
                                          "id": 21605,
                                          "name": "this",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": -28,
                                          "src": "41322:4:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                            "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                          }
                                        },
                                        "src": "41309:17:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "falseBody": {
                                        "id": 21781,
                                        "nodeType": "Block",
                                        "src": "42159:1824:72",
                                        "statements": [
                                          {
                                            "condition": {
                                              "baseExpression": {
                                                "id": 21669,
                                                "name": "isFeelessAddress",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 20285,
                                                "src": "42272:16:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                                                  "typeString": "mapping(address => bool)"
                                                }
                                              },
                                              "id": 21674,
                                              "indexExpression": {
                                                "arguments": [
                                                  {
                                                    "id": 21672,
                                                    "name": "_terminal",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21584,
                                                    "src": "42297:9:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                                      "typeString": "contract IJBPaymentTerminal"
                                                    }
                                                  }
                                                ],
                                                "expression": {
                                                  "argumentTypes": [
                                                    {
                                                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                                      "typeString": "contract IJBPaymentTerminal"
                                                    }
                                                  ],
                                                  "id": 21671,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": true,
                                                  "lValueRequested": false,
                                                  "nodeType": "ElementaryTypeNameExpression",
                                                  "src": "42289:7:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_type$_t_address_$",
                                                    "typeString": "type(address)"
                                                  },
                                                  "typeName": {
                                                    "id": 21670,
                                                    "name": "address",
                                                    "nodeType": "ElementaryTypeName",
                                                    "src": "42289:7:72",
                                                    "typeDescriptions": {}
                                                  }
                                                },
                                                "id": 21673,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "kind": "typeConversion",
                                                "lValueRequested": false,
                                                "names": [],
                                                "nodeType": "FunctionCall",
                                                "src": "42289:18:72",
                                                "tryCall": false,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_address",
                                                  "typeString": "address"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "42272:36:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bool",
                                                "typeString": "bool"
                                              }
                                            },
                                            "falseBody": {
                                              "id": 21700,
                                              "nodeType": "Block",
                                              "src": "42516:316:72",
                                              "statements": [
                                                {
                                                  "id": 21695,
                                                  "nodeType": "UncheckedBlock",
                                                  "src": "42532:223:72",
                                                  "statements": [
                                                    {
                                                      "expression": {
                                                        "id": 21693,
                                                        "isConstant": false,
                                                        "isLValue": false,
                                                        "isPure": false,
                                                        "lValueRequested": false,
                                                        "leftHandSide": {
                                                          "id": 21679,
                                                          "name": "_netPayoutAmount",
                                                          "nodeType": "Identifier",
                                                          "overloadedDeclarations": [],
                                                          "referencedDeclaration": 21488,
                                                          "src": "42560:16:72",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_uint256",
                                                            "typeString": "uint256"
                                                          }
                                                        },
                                                        "nodeType": "Assignment",
                                                        "operator": "=",
                                                        "rightHandSide": {
                                                          "condition": {
                                                            "commonType": {
                                                              "typeIdentifier": "t_uint256",
                                                              "typeString": "uint256"
                                                            },
                                                            "id": 21683,
                                                            "isConstant": false,
                                                            "isLValue": false,
                                                            "isPure": false,
                                                            "lValueRequested": false,
                                                            "leftExpression": {
                                                              "id": 21680,
                                                              "name": "_feeDiscount",
                                                              "nodeType": "Identifier",
                                                              "overloadedDeclarations": [],
                                                              "referencedDeclaration": 21438,
                                                              "src": "42579:12:72",
                                                              "typeDescriptions": {
                                                                "typeIdentifier": "t_uint256",
                                                                "typeString": "uint256"
                                                              }
                                                            },
                                                            "nodeType": "BinaryOperation",
                                                            "operator": "==",
                                                            "rightExpression": {
                                                              "expression": {
                                                                "id": 21681,
                                                                "name": "JBConstants",
                                                                "nodeType": "Identifier",
                                                                "overloadedDeclarations": [],
                                                                "referencedDeclaration": 35765,
                                                                "src": "42595:11:72",
                                                                "typeDescriptions": {
                                                                  "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                                                                  "typeString": "type(library JBConstants)"
                                                                }
                                                              },
                                                              "id": 21682,
                                                              "isConstant": false,
                                                              "isLValue": false,
                                                              "isPure": false,
                                                              "lValueRequested": false,
                                                              "memberName": "MAX_FEE_DISCOUNT",
                                                              "nodeType": "MemberAccess",
                                                              "referencedDeclaration": 35764,
                                                              "src": "42595:28:72",
                                                              "typeDescriptions": {
                                                                "typeIdentifier": "t_uint256",
                                                                "typeString": "uint256"
                                                              }
                                                            },
                                                            "src": "42579:44:72",
                                                            "typeDescriptions": {
                                                              "typeIdentifier": "t_bool",
                                                              "typeString": "bool"
                                                            }
                                                          },
                                                          "falseExpression": {
                                                            "commonType": {
                                                              "typeIdentifier": "t_uint256",
                                                              "typeString": "uint256"
                                                            },
                                                            "id": 21691,
                                                            "isConstant": false,
                                                            "isLValue": false,
                                                            "isPure": false,
                                                            "lValueRequested": false,
                                                            "leftExpression": {
                                                              "id": 21685,
                                                              "name": "_payoutAmount",
                                                              "nodeType": "Identifier",
                                                              "overloadedDeclarations": [],
                                                              "referencedDeclaration": 21477,
                                                              "src": "42678:13:72",
                                                              "typeDescriptions": {
                                                                "typeIdentifier": "t_uint256",
                                                                "typeString": "uint256"
                                                              }
                                                            },
                                                            "nodeType": "BinaryOperation",
                                                            "operator": "-",
                                                            "rightExpression": {
                                                              "arguments": [
                                                                {
                                                                  "id": 21687,
                                                                  "name": "_payoutAmount",
                                                                  "nodeType": "Identifier",
                                                                  "overloadedDeclarations": [],
                                                                  "referencedDeclaration": 21477,
                                                                  "src": "42705:13:72",
                                                                  "typeDescriptions": {
                                                                    "typeIdentifier": "t_uint256",
                                                                    "typeString": "uint256"
                                                                  }
                                                                },
                                                                {
                                                                  "id": 21688,
                                                                  "name": "fee",
                                                                  "nodeType": "Identifier",
                                                                  "overloadedDeclarations": [],
                                                                  "referencedDeclaration": 20274,
                                                                  "src": "42720:3:72",
                                                                  "typeDescriptions": {
                                                                    "typeIdentifier": "t_uint256",
                                                                    "typeString": "uint256"
                                                                  }
                                                                },
                                                                {
                                                                  "id": 21689,
                                                                  "name": "_feeDiscount",
                                                                  "nodeType": "Identifier",
                                                                  "overloadedDeclarations": [],
                                                                  "referencedDeclaration": 21438,
                                                                  "src": "42725:12:72",
                                                                  "typeDescriptions": {
                                                                    "typeIdentifier": "t_uint256",
                                                                    "typeString": "uint256"
                                                                  }
                                                                }
                                                              ],
                                                              "expression": {
                                                                "argumentTypes": [
                                                                  {
                                                                    "typeIdentifier": "t_uint256",
                                                                    "typeString": "uint256"
                                                                  },
                                                                  {
                                                                    "typeIdentifier": "t_uint256",
                                                                    "typeString": "uint256"
                                                                  },
                                                                  {
                                                                    "typeIdentifier": "t_uint256",
                                                                    "typeString": "uint256"
                                                                  }
                                                                ],
                                                                "id": 21686,
                                                                "name": "_feeAmount",
                                                                "nodeType": "Identifier",
                                                                "overloadedDeclarations": [],
                                                                "referencedDeclaration": 22394,
                                                                "src": "42694:10:72",
                                                                "typeDescriptions": {
                                                                  "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                                                  "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                                                                }
                                                              },
                                                              "id": 21690,
                                                              "isConstant": false,
                                                              "isLValue": false,
                                                              "isPure": false,
                                                              "kind": "functionCall",
                                                              "lValueRequested": false,
                                                              "names": [],
                                                              "nodeType": "FunctionCall",
                                                              "src": "42694:44:72",
                                                              "tryCall": false,
                                                              "typeDescriptions": {
                                                                "typeIdentifier": "t_uint256",
                                                                "typeString": "uint256"
                                                              }
                                                            },
                                                            "src": "42678:60:72",
                                                            "typeDescriptions": {
                                                              "typeIdentifier": "t_uint256",
                                                              "typeString": "uint256"
                                                            }
                                                          },
                                                          "id": 21692,
                                                          "isConstant": false,
                                                          "isLValue": false,
                                                          "isPure": false,
                                                          "lValueRequested": false,
                                                          "nodeType": "Conditional",
                                                          "src": "42579:159:72",
                                                          "trueExpression": {
                                                            "id": 21684,
                                                            "name": "_payoutAmount",
                                                            "nodeType": "Identifier",
                                                            "overloadedDeclarations": [],
                                                            "referencedDeclaration": 21477,
                                                            "src": "42644:13:72",
                                                            "typeDescriptions": {
                                                              "typeIdentifier": "t_uint256",
                                                              "typeString": "uint256"
                                                            }
                                                          },
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_uint256",
                                                            "typeString": "uint256"
                                                          }
                                                        },
                                                        "src": "42560:178:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_uint256",
                                                          "typeString": "uint256"
                                                        }
                                                      },
                                                      "id": 21694,
                                                      "nodeType": "ExpressionStatement",
                                                      "src": "42560:178:72"
                                                    }
                                                  ]
                                                },
                                                {
                                                  "expression": {
                                                    "id": 21698,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "leftHandSide": {
                                                      "id": 21696,
                                                      "name": "feeEligibleDistributionAmount",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21443,
                                                      "src": "42771:29:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    },
                                                    "nodeType": "Assignment",
                                                    "operator": "+=",
                                                    "rightHandSide": {
                                                      "id": 21697,
                                                      "name": "_payoutAmount",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21477,
                                                      "src": "42804:13:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    },
                                                    "src": "42771:46:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  "id": 21699,
                                                  "nodeType": "ExpressionStatement",
                                                  "src": "42771:46:72"
                                                }
                                              ]
                                            },
                                            "id": 21701,
                                            "nodeType": "IfStatement",
                                            "src": "42268:564:72",
                                            "trueBody": {
                                              "expression": {
                                                "id": 21677,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "leftHandSide": {
                                                  "id": 21675,
                                                  "name": "_netPayoutAmount",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 21488,
                                                  "src": "42324:16:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "nodeType": "Assignment",
                                                "operator": "=",
                                                "rightHandSide": {
                                                  "id": 21676,
                                                  "name": "_payoutAmount",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 21477,
                                                  "src": "42343:13:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "src": "42324:32:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "id": 21678,
                                              "nodeType": "ExpressionStatement",
                                              "src": "42324:32:72"
                                            }
                                          },
                                          {
                                            "expression": {
                                              "arguments": [
                                                {
                                                  "arguments": [
                                                    {
                                                      "id": 21705,
                                                      "name": "_terminal",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21584,
                                                      "src": "42929:9:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                                        "typeString": "contract IJBPaymentTerminal"
                                                      }
                                                    }
                                                  ],
                                                  "expression": {
                                                    "argumentTypes": [
                                                      {
                                                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                                        "typeString": "contract IJBPaymentTerminal"
                                                      }
                                                    ],
                                                    "id": 21704,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "lValueRequested": false,
                                                    "nodeType": "ElementaryTypeNameExpression",
                                                    "src": "42921:7:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_type$_t_address_$",
                                                      "typeString": "type(address)"
                                                    },
                                                    "typeName": {
                                                      "id": 21703,
                                                      "name": "address",
                                                      "nodeType": "ElementaryTypeName",
                                                      "src": "42921:7:72",
                                                      "typeDescriptions": {}
                                                    }
                                                  },
                                                  "id": 21706,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "kind": "typeConversion",
                                                  "lValueRequested": false,
                                                  "names": [],
                                                  "nodeType": "FunctionCall",
                                                  "src": "42921:18:72",
                                                  "tryCall": false,
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_address",
                                                    "typeString": "address"
                                                  }
                                                },
                                                {
                                                  "id": 21707,
                                                  "name": "_netPayoutAmount",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 21488,
                                                  "src": "42941:16:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_address",
                                                    "typeString": "address"
                                                  },
                                                  {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                ],
                                                "id": 21702,
                                                "name": "_beforeTransferTo",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21002,
                                                "src": "42903:17:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",
                                                  "typeString": "function (address,uint256)"
                                                }
                                              },
                                              "id": 21708,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "functionCall",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "42903:55:72",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_tuple$__$",
                                                "typeString": "tuple()"
                                              }
                                            },
                                            "id": 21709,
                                            "nodeType": "ExpressionStatement",
                                            "src": "42903:55:72"
                                          },
                                          {
                                            "assignments": [
                                              21711
                                            ],
                                            "declarations": [
                                              {
                                                "constant": false,
                                                "id": 21711,
                                                "mutability": "mutable",
                                                "name": "_payableValue",
                                                "nameLocation": "43051:13:72",
                                                "nodeType": "VariableDeclaration",
                                                "scope": 21781,
                                                "src": "43043:21:72",
                                                "stateVariable": false,
                                                "storageLocation": "default",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                },
                                                "typeName": {
                                                  "id": 21710,
                                                  "name": "uint256",
                                                  "nodeType": "ElementaryTypeName",
                                                  "src": "43043:7:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "visibility": "internal"
                                              }
                                            ],
                                            "id": 21719,
                                            "initialValue": {
                                              "condition": {
                                                "commonType": {
                                                  "typeIdentifier": "t_address",
                                                  "typeString": "address"
                                                },
                                                "id": 21715,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "leftExpression": {
                                                  "id": 21712,
                                                  "name": "token",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 22475,
                                                  "src": "43067:5:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_address",
                                                    "typeString": "address"
                                                  }
                                                },
                                                "nodeType": "BinaryOperation",
                                                "operator": "==",
                                                "rightExpression": {
                                                  "expression": {
                                                    "id": 21713,
                                                    "name": "JBTokens",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 32019,
                                                    "src": "43076:8:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_type$_t_contract$_JBTokens_$32019_$",
                                                      "typeString": "type(library JBTokens)"
                                                    }
                                                  },
                                                  "id": 21714,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "memberName": "ETH",
                                                  "nodeType": "MemberAccess",
                                                  "referencedDeclaration": 32018,
                                                  "src": "43076:12:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_address",
                                                    "typeString": "address"
                                                  }
                                                },
                                                "src": "43067:21:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_bool",
                                                  "typeString": "bool"
                                                }
                                              },
                                              "falseExpression": {
                                                "hexValue": "30",
                                                "id": 21717,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "kind": "number",
                                                "lValueRequested": false,
                                                "nodeType": "Literal",
                                                "src": "43110:1:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_rational_0_by_1",
                                                  "typeString": "int_const 0"
                                                },
                                                "value": "0"
                                              },
                                              "id": 21718,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "Conditional",
                                              "src": "43067:44:72",
                                              "trueExpression": {
                                                "id": 21716,
                                                "name": "_netPayoutAmount",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21488,
                                                "src": "43091:16:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "nodeType": "VariableDeclarationStatement",
                                            "src": "43043:68:72"
                                          },
                                          {
                                            "assignments": [
                                              21721
                                            ],
                                            "declarations": [
                                              {
                                                "constant": false,
                                                "id": 21721,
                                                "mutability": "mutable",
                                                "name": "_projectMetadata",
                                                "nameLocation": "43190:16:72",
                                                "nodeType": "VariableDeclaration",
                                                "scope": 21781,
                                                "src": "43177:29:72",
                                                "stateVariable": false,
                                                "storageLocation": "memory",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_bytes_memory_ptr",
                                                  "typeString": "bytes"
                                                },
                                                "typeName": {
                                                  "id": 21720,
                                                  "name": "bytes",
                                                  "nodeType": "ElementaryTypeName",
                                                  "src": "43177:5:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_bytes_storage_ptr",
                                                    "typeString": "bytes"
                                                  }
                                                },
                                                "visibility": "internal"
                                              }
                                            ],
                                            "id": 21726,
                                            "initialValue": {
                                              "arguments": [
                                                {
                                                  "hexValue": "3332",
                                                  "id": 21724,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": true,
                                                  "kind": "number",
                                                  "lValueRequested": false,
                                                  "nodeType": "Literal",
                                                  "src": "43219:2:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_rational_32_by_1",
                                                    "typeString": "int_const 32"
                                                  },
                                                  "value": "32"
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_rational_32_by_1",
                                                    "typeString": "int_const 32"
                                                  }
                                                ],
                                                "id": 21723,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "lValueRequested": false,
                                                "nodeType": "NewExpression",
                                                "src": "43209:9:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$",
                                                  "typeString": "function (uint256) pure returns (bytes memory)"
                                                },
                                                "typeName": {
                                                  "id": 21722,
                                                  "name": "bytes",
                                                  "nodeType": "ElementaryTypeName",
                                                  "src": "43213:5:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_bytes_storage_ptr",
                                                    "typeString": "bytes"
                                                  }
                                                }
                                              },
                                              "id": 21725,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "functionCall",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "43209:13:72",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bytes_memory_ptr",
                                                "typeString": "bytes memory"
                                              }
                                            },
                                            "nodeType": "VariableDeclarationStatement",
                                            "src": "43177:45:72"
                                          },
                                          {
                                            "expression": {
                                              "id": 21735,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "leftHandSide": {
                                                "id": 21727,
                                                "name": "_projectMetadata",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21721,
                                                "src": "43236:16:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_bytes_memory_ptr",
                                                  "typeString": "bytes memory"
                                                }
                                              },
                                              "nodeType": "Assignment",
                                              "operator": "=",
                                              "rightHandSide": {
                                                "arguments": [
                                                  {
                                                    "arguments": [
                                                      {
                                                        "id": 21732,
                                                        "name": "_projectId",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": 21430,
                                                        "src": "43278:10:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_uint256",
                                                          "typeString": "uint256"
                                                        }
                                                      }
                                                    ],
                                                    "expression": {
                                                      "argumentTypes": [
                                                        {
                                                          "typeIdentifier": "t_uint256",
                                                          "typeString": "uint256"
                                                        }
                                                      ],
                                                      "expression": {
                                                        "id": 21730,
                                                        "name": "abi",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": -1,
                                                        "src": "43261:3:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_magic_abi",
                                                          "typeString": "abi"
                                                        }
                                                      },
                                                      "id": 21731,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": true,
                                                      "lValueRequested": false,
                                                      "memberName": "encodePacked",
                                                      "nodeType": "MemberAccess",
                                                      "src": "43261:16:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                                                        "typeString": "function () pure returns (bytes memory)"
                                                      }
                                                    },
                                                    "id": 21733,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "kind": "functionCall",
                                                    "lValueRequested": false,
                                                    "names": [],
                                                    "nodeType": "FunctionCall",
                                                    "src": "43261:28:72",
                                                    "tryCall": false,
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  }
                                                ],
                                                "expression": {
                                                  "argumentTypes": [
                                                    {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  ],
                                                  "id": 21729,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": true,
                                                  "lValueRequested": false,
                                                  "nodeType": "ElementaryTypeNameExpression",
                                                  "src": "43255:5:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                                                    "typeString": "type(bytes storage pointer)"
                                                  },
                                                  "typeName": {
                                                    "id": 21728,
                                                    "name": "bytes",
                                                    "nodeType": "ElementaryTypeName",
                                                    "src": "43255:5:72",
                                                    "typeDescriptions": {}
                                                  }
                                                },
                                                "id": 21734,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "kind": "typeConversion",
                                                "lValueRequested": false,
                                                "names": [],
                                                "nodeType": "FunctionCall",
                                                "src": "43255:35:72",
                                                "tryCall": false,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_bytes_memory_ptr",
                                                  "typeString": "bytes memory"
                                                }
                                              },
                                              "src": "43236:54:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bytes_memory_ptr",
                                                "typeString": "bytes memory"
                                              }
                                            },
                                            "id": 21736,
                                            "nodeType": "ExpressionStatement",
                                            "src": "43236:54:72"
                                          },
                                          {
                                            "condition": {
                                              "expression": {
                                                "id": 21737,
                                                "name": "_split",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21471,
                                                "src": "43352:6:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                  "typeString": "struct JBSplit memory"
                                                }
                                              },
                                              "id": 21738,
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "memberName": "preferAddToBalance",
                                              "nodeType": "MemberAccess",
                                              "referencedDeclaration": 35986,
                                              "src": "43352:25:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bool",
                                                "typeString": "bool"
                                              }
                                            },
                                            "falseBody": {
                                              "expression": {
                                                "arguments": [
                                                  {
                                                    "expression": {
                                                      "id": 21757,
                                                      "name": "_split",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21471,
                                                      "src": "43686:6:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                        "typeString": "struct JBSplit memory"
                                                      }
                                                    },
                                                    "id": 21758,
                                                    "isConstant": false,
                                                    "isLValue": true,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberName": "projectId",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 35990,
                                                    "src": "43686:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  {
                                                    "id": 21759,
                                                    "name": "_netPayoutAmount",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21488,
                                                    "src": "43720:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  {
                                                    "id": 21760,
                                                    "name": "token",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 22475,
                                                    "src": "43754:5:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    }
                                                  },
                                                  {
                                                    "condition": {
                                                      "commonType": {
                                                        "typeIdentifier": "t_address",
                                                        "typeString": "address"
                                                      },
                                                      "id": 21767,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "leftExpression": {
                                                        "expression": {
                                                          "id": 21761,
                                                          "name": "_split",
                                                          "nodeType": "Identifier",
                                                          "overloadedDeclarations": [],
                                                          "referencedDeclaration": 21471,
                                                          "src": "43777:6:72",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                            "typeString": "struct JBSplit memory"
                                                          }
                                                        },
                                                        "id": 21762,
                                                        "isConstant": false,
                                                        "isLValue": true,
                                                        "isPure": false,
                                                        "lValueRequested": false,
                                                        "memberName": "beneficiary",
                                                        "nodeType": "MemberAccess",
                                                        "referencedDeclaration": 35992,
                                                        "src": "43777:18:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_address_payable",
                                                          "typeString": "address payable"
                                                        }
                                                      },
                                                      "nodeType": "BinaryOperation",
                                                      "operator": "!=",
                                                      "rightExpression": {
                                                        "arguments": [
                                                          {
                                                            "hexValue": "30",
                                                            "id": 21765,
                                                            "isConstant": false,
                                                            "isLValue": false,
                                                            "isPure": true,
                                                            "kind": "number",
                                                            "lValueRequested": false,
                                                            "nodeType": "Literal",
                                                            "src": "43807:1:72",
                                                            "typeDescriptions": {
                                                              "typeIdentifier": "t_rational_0_by_1",
                                                              "typeString": "int_const 0"
                                                            },
                                                            "value": "0"
                                                          }
                                                        ],
                                                        "expression": {
                                                          "argumentTypes": [
                                                            {
                                                              "typeIdentifier": "t_rational_0_by_1",
                                                              "typeString": "int_const 0"
                                                            }
                                                          ],
                                                          "id": 21764,
                                                          "isConstant": false,
                                                          "isLValue": false,
                                                          "isPure": true,
                                                          "lValueRequested": false,
                                                          "nodeType": "ElementaryTypeNameExpression",
                                                          "src": "43799:7:72",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_type$_t_address_$",
                                                            "typeString": "type(address)"
                                                          },
                                                          "typeName": {
                                                            "id": 21763,
                                                            "name": "address",
                                                            "nodeType": "ElementaryTypeName",
                                                            "src": "43799:7:72",
                                                            "typeDescriptions": {}
                                                          }
                                                        },
                                                        "id": 21766,
                                                        "isConstant": false,
                                                        "isLValue": false,
                                                        "isPure": true,
                                                        "kind": "typeConversion",
                                                        "lValueRequested": false,
                                                        "names": [],
                                                        "nodeType": "FunctionCall",
                                                        "src": "43799:10:72",
                                                        "tryCall": false,
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_address",
                                                          "typeString": "address"
                                                        }
                                                      },
                                                      "src": "43777:32:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_bool",
                                                        "typeString": "bool"
                                                      }
                                                    },
                                                    "falseExpression": {
                                                      "expression": {
                                                        "id": 21770,
                                                        "name": "msg",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": -15,
                                                        "src": "43833:3:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_magic_message",
                                                          "typeString": "msg"
                                                        }
                                                      },
                                                      "id": 21771,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "memberName": "sender",
                                                      "nodeType": "MemberAccess",
                                                      "src": "43833:10:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_address",
                                                        "typeString": "address"
                                                      }
                                                    },
                                                    "id": 21772,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "nodeType": "Conditional",
                                                    "src": "43777:66:72",
                                                    "trueExpression": {
                                                      "expression": {
                                                        "id": 21768,
                                                        "name": "_split",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": 21471,
                                                        "src": "43812:6:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                          "typeString": "struct JBSplit memory"
                                                        }
                                                      },
                                                      "id": 21769,
                                                      "isConstant": false,
                                                      "isLValue": true,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "memberName": "beneficiary",
                                                      "nodeType": "MemberAccess",
                                                      "referencedDeclaration": 35992,
                                                      "src": "43812:18:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_address_payable",
                                                        "typeString": "address payable"
                                                      }
                                                    },
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    }
                                                  },
                                                  {
                                                    "hexValue": "30",
                                                    "id": 21773,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "kind": "number",
                                                    "lValueRequested": false,
                                                    "nodeType": "Literal",
                                                    "src": "43861:1:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_rational_0_by_1",
                                                      "typeString": "int_const 0"
                                                    },
                                                    "value": "0"
                                                  },
                                                  {
                                                    "expression": {
                                                      "id": 21774,
                                                      "name": "_split",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21471,
                                                      "src": "43880:6:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                        "typeString": "struct JBSplit memory"
                                                      }
                                                    },
                                                    "id": 21775,
                                                    "isConstant": false,
                                                    "isLValue": true,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberName": "preferClaimed",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 35984,
                                                    "src": "43880:20:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bool",
                                                      "typeString": "bool"
                                                    }
                                                  },
                                                  {
                                                    "hexValue": "",
                                                    "id": 21776,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "kind": "string",
                                                    "lValueRequested": false,
                                                    "nodeType": "Literal",
                                                    "src": "43918:2:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                      "typeString": "literal_string \"\""
                                                    },
                                                    "value": ""
                                                  },
                                                  {
                                                    "id": 21777,
                                                    "name": "_projectMetadata",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21721,
                                                    "src": "43938:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  }
                                                ],
                                                "expression": {
                                                  "argumentTypes": [
                                                    {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_rational_0_by_1",
                                                      "typeString": "int_const 0"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_bool",
                                                      "typeString": "bool"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                      "typeString": "literal_string \"\""
                                                    },
                                                    {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  ],
                                                  "expression": {
                                                    "argumentTypes": [
                                                      {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_address",
                                                        "typeString": "address"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_address",
                                                        "typeString": "address"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_rational_0_by_1",
                                                        "typeString": "int_const 0"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_bool",
                                                        "typeString": "bool"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                        "typeString": "literal_string \"\""
                                                      },
                                                      {
                                                        "typeIdentifier": "t_bytes_memory_ptr",
                                                        "typeString": "bytes memory"
                                                      }
                                                    ],
                                                    "expression": {
                                                      "id": 21752,
                                                      "name": "_terminal",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21584,
                                                      "src": "43633:9:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                                        "typeString": "contract IJBPaymentTerminal"
                                                      }
                                                    },
                                                    "id": 21754,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberName": "pay",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 31980,
                                                    "src": "43633:13:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_uint256_$",
                                                      "typeString": "function (uint256,uint256,address,address,uint256,bool,string memory,bytes memory) payable external returns (uint256)"
                                                    }
                                                  },
                                                  "id": 21756,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "names": [
                                                    "value"
                                                  ],
                                                  "nodeType": "FunctionCallOptions",
                                                  "options": [
                                                    {
                                                      "id": 21755,
                                                      "name": "_payableValue",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21711,
                                                      "src": "43654:13:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    }
                                                  ],
                                                  "src": "43633:35:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_uint256_$value",
                                                    "typeString": "function (uint256,uint256,address,address,uint256,bool,string memory,bytes memory) payable external returns (uint256)"
                                                  }
                                                },
                                                "id": 21778,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "kind": "functionCall",
                                                "lValueRequested": false,
                                                "names": [],
                                                "nodeType": "FunctionCall",
                                                "src": "43633:337:72",
                                                "tryCall": false,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "id": 21779,
                                              "nodeType": "ExpressionStatement",
                                              "src": "43633:337:72"
                                            },
                                            "id": 21780,
                                            "nodeType": "IfStatement",
                                            "src": "43348:622:72",
                                            "trueBody": {
                                              "expression": {
                                                "arguments": [
                                                  {
                                                    "expression": {
                                                      "id": 21744,
                                                      "name": "_split",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21471,
                                                      "src": "43457:6:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                        "typeString": "struct JBSplit memory"
                                                      }
                                                    },
                                                    "id": 21745,
                                                    "isConstant": false,
                                                    "isLValue": true,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberName": "projectId",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 35990,
                                                    "src": "43457:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  {
                                                    "id": 21746,
                                                    "name": "_netPayoutAmount",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21488,
                                                    "src": "43491:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  {
                                                    "id": 21747,
                                                    "name": "token",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 22475,
                                                    "src": "43525:5:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    }
                                                  },
                                                  {
                                                    "hexValue": "",
                                                    "id": 21748,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "kind": "string",
                                                    "lValueRequested": false,
                                                    "nodeType": "Literal",
                                                    "src": "43548:2:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                      "typeString": "literal_string \"\""
                                                    },
                                                    "value": ""
                                                  },
                                                  {
                                                    "id": 21749,
                                                    "name": "_projectMetadata",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21721,
                                                    "src": "43568:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  }
                                                ],
                                                "expression": {
                                                  "argumentTypes": [
                                                    {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                      "typeString": "literal_string \"\""
                                                    },
                                                    {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  ],
                                                  "expression": {
                                                    "argumentTypes": [
                                                      {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_address",
                                                        "typeString": "address"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                        "typeString": "literal_string \"\""
                                                      },
                                                      {
                                                        "typeIdentifier": "t_bytes_memory_ptr",
                                                        "typeString": "bytes memory"
                                                      }
                                                    ],
                                                    "expression": {
                                                      "id": 21739,
                                                      "name": "_terminal",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21584,
                                                      "src": "43393:9:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                                        "typeString": "contract IJBPaymentTerminal"
                                                      }
                                                    },
                                                    "id": 21741,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberName": "addToBalanceOf",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 31993,
                                                    "src": "43393:24:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$",
                                                      "typeString": "function (uint256,uint256,address,string memory,bytes memory) payable external"
                                                    }
                                                  },
                                                  "id": 21743,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "names": [
                                                    "value"
                                                  ],
                                                  "nodeType": "FunctionCallOptions",
                                                  "options": [
                                                    {
                                                      "id": 21742,
                                                      "name": "_payableValue",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21711,
                                                      "src": "43425:13:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    }
                                                  ],
                                                  "src": "43393:46:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$value",
                                                    "typeString": "function (uint256,uint256,address,string memory,bytes memory) payable external"
                                                  }
                                                },
                                                "id": 21750,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "kind": "functionCall",
                                                "lValueRequested": false,
                                                "names": [],
                                                "nodeType": "FunctionCall",
                                                "src": "43393:207:72",
                                                "tryCall": false,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_tuple$__$",
                                                  "typeString": "tuple()"
                                                }
                                              },
                                              "id": 21751,
                                              "nodeType": "ExpressionStatement",
                                              "src": "43393:207:72"
                                            }
                                          }
                                        ]
                                      },
                                      "id": 21782,
                                      "nodeType": "IfStatement",
                                      "src": "41305:2678:72",
                                      "trueBody": {
                                        "id": 21668,
                                        "nodeType": "Block",
                                        "src": "41328:825:72",
                                        "statements": [
                                          {
                                            "expression": {
                                              "id": 21609,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "leftHandSide": {
                                                "id": 21607,
                                                "name": "_netPayoutAmount",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21488,
                                                "src": "41397:16:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "nodeType": "Assignment",
                                              "operator": "=",
                                              "rightHandSide": {
                                                "id": 21608,
                                                "name": "_payoutAmount",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21477,
                                                "src": "41416:13:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "src": "41397:32:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "id": 21610,
                                            "nodeType": "ExpressionStatement",
                                            "src": "41397:32:72"
                                          },
                                          {
                                            "assignments": [
                                              21612
                                            ],
                                            "declarations": [
                                              {
                                                "constant": false,
                                                "id": 21612,
                                                "mutability": "mutable",
                                                "name": "_projectMetadata",
                                                "nameLocation": "41508:16:72",
                                                "nodeType": "VariableDeclaration",
                                                "scope": 21668,
                                                "src": "41495:29:72",
                                                "stateVariable": false,
                                                "storageLocation": "memory",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_bytes_memory_ptr",
                                                  "typeString": "bytes"
                                                },
                                                "typeName": {
                                                  "id": 21611,
                                                  "name": "bytes",
                                                  "nodeType": "ElementaryTypeName",
                                                  "src": "41495:5:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_bytes_storage_ptr",
                                                    "typeString": "bytes"
                                                  }
                                                },
                                                "visibility": "internal"
                                              }
                                            ],
                                            "id": 21617,
                                            "initialValue": {
                                              "arguments": [
                                                {
                                                  "hexValue": "3332",
                                                  "id": 21615,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": true,
                                                  "kind": "number",
                                                  "lValueRequested": false,
                                                  "nodeType": "Literal",
                                                  "src": "41537:2:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_rational_32_by_1",
                                                    "typeString": "int_const 32"
                                                  },
                                                  "value": "32"
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_rational_32_by_1",
                                                    "typeString": "int_const 32"
                                                  }
                                                ],
                                                "id": 21614,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "lValueRequested": false,
                                                "nodeType": "NewExpression",
                                                "src": "41527:9:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$",
                                                  "typeString": "function (uint256) pure returns (bytes memory)"
                                                },
                                                "typeName": {
                                                  "id": 21613,
                                                  "name": "bytes",
                                                  "nodeType": "ElementaryTypeName",
                                                  "src": "41531:5:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_bytes_storage_ptr",
                                                    "typeString": "bytes"
                                                  }
                                                }
                                              },
                                              "id": 21616,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "functionCall",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "41527:13:72",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bytes_memory_ptr",
                                                "typeString": "bytes memory"
                                              }
                                            },
                                            "nodeType": "VariableDeclarationStatement",
                                            "src": "41495:45:72"
                                          },
                                          {
                                            "expression": {
                                              "id": 21626,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "leftHandSide": {
                                                "id": 21618,
                                                "name": "_projectMetadata",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21612,
                                                "src": "41554:16:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_bytes_memory_ptr",
                                                  "typeString": "bytes memory"
                                                }
                                              },
                                              "nodeType": "Assignment",
                                              "operator": "=",
                                              "rightHandSide": {
                                                "arguments": [
                                                  {
                                                    "arguments": [
                                                      {
                                                        "id": 21623,
                                                        "name": "_projectId",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": 21430,
                                                        "src": "41596:10:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_uint256",
                                                          "typeString": "uint256"
                                                        }
                                                      }
                                                    ],
                                                    "expression": {
                                                      "argumentTypes": [
                                                        {
                                                          "typeIdentifier": "t_uint256",
                                                          "typeString": "uint256"
                                                        }
                                                      ],
                                                      "expression": {
                                                        "id": 21621,
                                                        "name": "abi",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": -1,
                                                        "src": "41579:3:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_magic_abi",
                                                          "typeString": "abi"
                                                        }
                                                      },
                                                      "id": 21622,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": true,
                                                      "lValueRequested": false,
                                                      "memberName": "encodePacked",
                                                      "nodeType": "MemberAccess",
                                                      "src": "41579:16:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                                                        "typeString": "function () pure returns (bytes memory)"
                                                      }
                                                    },
                                                    "id": 21624,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "kind": "functionCall",
                                                    "lValueRequested": false,
                                                    "names": [],
                                                    "nodeType": "FunctionCall",
                                                    "src": "41579:28:72",
                                                    "tryCall": false,
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  }
                                                ],
                                                "expression": {
                                                  "argumentTypes": [
                                                    {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  ],
                                                  "id": 21620,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": true,
                                                  "lValueRequested": false,
                                                  "nodeType": "ElementaryTypeNameExpression",
                                                  "src": "41573:5:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                                                    "typeString": "type(bytes storage pointer)"
                                                  },
                                                  "typeName": {
                                                    "id": 21619,
                                                    "name": "bytes",
                                                    "nodeType": "ElementaryTypeName",
                                                    "src": "41573:5:72",
                                                    "typeDescriptions": {}
                                                  }
                                                },
                                                "id": 21625,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "kind": "typeConversion",
                                                "lValueRequested": false,
                                                "names": [],
                                                "nodeType": "FunctionCall",
                                                "src": "41573:35:72",
                                                "tryCall": false,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_bytes_memory_ptr",
                                                  "typeString": "bytes memory"
                                                }
                                              },
                                              "src": "41554:54:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bytes_memory_ptr",
                                                "typeString": "bytes memory"
                                              }
                                            },
                                            "id": 21627,
                                            "nodeType": "ExpressionStatement",
                                            "src": "41554:54:72"
                                          },
                                          {
                                            "condition": {
                                              "expression": {
                                                "id": 21628,
                                                "name": "_split",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21471,
                                                "src": "41670:6:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                  "typeString": "struct JBSplit memory"
                                                }
                                              },
                                              "id": 21629,
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "memberName": "preferAddToBalance",
                                              "nodeType": "MemberAccess",
                                              "referencedDeclaration": 35986,
                                              "src": "41670:25:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bool",
                                                "typeString": "bool"
                                              }
                                            },
                                            "falseBody": {
                                              "expression": {
                                                "arguments": [
                                                  {
                                                    "id": 21640,
                                                    "name": "_netPayoutAmount",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21488,
                                                    "src": "41846:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  {
                                                    "arguments": [
                                                      {
                                                        "id": 21643,
                                                        "name": "this",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": -28,
                                                        "src": "41888:4:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                                          "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                                        }
                                                      }
                                                    ],
                                                    "expression": {
                                                      "argumentTypes": [
                                                        {
                                                          "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                                          "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                                                        }
                                                      ],
                                                      "id": 21642,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": true,
                                                      "lValueRequested": false,
                                                      "nodeType": "ElementaryTypeNameExpression",
                                                      "src": "41880:7:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_type$_t_address_$",
                                                        "typeString": "type(address)"
                                                      },
                                                      "typeName": {
                                                        "id": 21641,
                                                        "name": "address",
                                                        "nodeType": "ElementaryTypeName",
                                                        "src": "41880:7:72",
                                                        "typeDescriptions": {}
                                                      }
                                                    },
                                                    "id": 21644,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "kind": "typeConversion",
                                                    "lValueRequested": false,
                                                    "names": [],
                                                    "nodeType": "FunctionCall",
                                                    "src": "41880:13:72",
                                                    "tryCall": false,
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    }
                                                  },
                                                  {
                                                    "expression": {
                                                      "id": 21645,
                                                      "name": "_split",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21471,
                                                      "src": "41911:6:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                        "typeString": "struct JBSplit memory"
                                                      }
                                                    },
                                                    "id": 21646,
                                                    "isConstant": false,
                                                    "isLValue": true,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberName": "projectId",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 35990,
                                                    "src": "41911:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  {
                                                    "condition": {
                                                      "components": [
                                                        {
                                                          "commonType": {
                                                            "typeIdentifier": "t_address",
                                                            "typeString": "address"
                                                          },
                                                          "id": 21653,
                                                          "isConstant": false,
                                                          "isLValue": false,
                                                          "isPure": false,
                                                          "lValueRequested": false,
                                                          "leftExpression": {
                                                            "expression": {
                                                              "id": 21647,
                                                              "name": "_split",
                                                              "nodeType": "Identifier",
                                                              "overloadedDeclarations": [],
                                                              "referencedDeclaration": 21471,
                                                              "src": "41946:6:72",
                                                              "typeDescriptions": {
                                                                "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                                "typeString": "struct JBSplit memory"
                                                              }
                                                            },
                                                            "id": 21648,
                                                            "isConstant": false,
                                                            "isLValue": true,
                                                            "isPure": false,
                                                            "lValueRequested": false,
                                                            "memberName": "beneficiary",
                                                            "nodeType": "MemberAccess",
                                                            "referencedDeclaration": 35992,
                                                            "src": "41946:18:72",
                                                            "typeDescriptions": {
                                                              "typeIdentifier": "t_address_payable",
                                                              "typeString": "address payable"
                                                            }
                                                          },
                                                          "nodeType": "BinaryOperation",
                                                          "operator": "!=",
                                                          "rightExpression": {
                                                            "arguments": [
                                                              {
                                                                "hexValue": "30",
                                                                "id": 21651,
                                                                "isConstant": false,
                                                                "isLValue": false,
                                                                "isPure": true,
                                                                "kind": "number",
                                                                "lValueRequested": false,
                                                                "nodeType": "Literal",
                                                                "src": "41976:1:72",
                                                                "typeDescriptions": {
                                                                  "typeIdentifier": "t_rational_0_by_1",
                                                                  "typeString": "int_const 0"
                                                                },
                                                                "value": "0"
                                                              }
                                                            ],
                                                            "expression": {
                                                              "argumentTypes": [
                                                                {
                                                                  "typeIdentifier": "t_rational_0_by_1",
                                                                  "typeString": "int_const 0"
                                                                }
                                                              ],
                                                              "id": 21650,
                                                              "isConstant": false,
                                                              "isLValue": false,
                                                              "isPure": true,
                                                              "lValueRequested": false,
                                                              "nodeType": "ElementaryTypeNameExpression",
                                                              "src": "41968:7:72",
                                                              "typeDescriptions": {
                                                                "typeIdentifier": "t_type$_t_address_$",
                                                                "typeString": "type(address)"
                                                              },
                                                              "typeName": {
                                                                "id": 21649,
                                                                "name": "address",
                                                                "nodeType": "ElementaryTypeName",
                                                                "src": "41968:7:72",
                                                                "typeDescriptions": {}
                                                              }
                                                            },
                                                            "id": 21652,
                                                            "isConstant": false,
                                                            "isLValue": false,
                                                            "isPure": true,
                                                            "kind": "typeConversion",
                                                            "lValueRequested": false,
                                                            "names": [],
                                                            "nodeType": "FunctionCall",
                                                            "src": "41968:10:72",
                                                            "tryCall": false,
                                                            "typeDescriptions": {
                                                              "typeIdentifier": "t_address",
                                                              "typeString": "address"
                                                            }
                                                          },
                                                          "src": "41946:32:72",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_bool",
                                                            "typeString": "bool"
                                                          }
                                                        }
                                                      ],
                                                      "id": 21654,
                                                      "isConstant": false,
                                                      "isInlineArray": false,
                                                      "isLValue": false,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "nodeType": "TupleExpression",
                                                      "src": "41945:34:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_bool",
                                                        "typeString": "bool"
                                                      }
                                                    },
                                                    "falseExpression": {
                                                      "expression": {
                                                        "id": 21657,
                                                        "name": "msg",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": -15,
                                                        "src": "42003:3:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_magic_message",
                                                          "typeString": "msg"
                                                        }
                                                      },
                                                      "id": 21658,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "memberName": "sender",
                                                      "nodeType": "MemberAccess",
                                                      "src": "42003:10:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_address",
                                                        "typeString": "address"
                                                      }
                                                    },
                                                    "id": 21659,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "nodeType": "Conditional",
                                                    "src": "41945:68:72",
                                                    "trueExpression": {
                                                      "expression": {
                                                        "id": 21655,
                                                        "name": "_split",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": 21471,
                                                        "src": "41982:6:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                          "typeString": "struct JBSplit memory"
                                                        }
                                                      },
                                                      "id": 21656,
                                                      "isConstant": false,
                                                      "isLValue": true,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "memberName": "beneficiary",
                                                      "nodeType": "MemberAccess",
                                                      "referencedDeclaration": 35992,
                                                      "src": "41982:18:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_address_payable",
                                                        "typeString": "address payable"
                                                      }
                                                    },
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    }
                                                  },
                                                  {
                                                    "hexValue": "30",
                                                    "id": 21660,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "kind": "number",
                                                    "lValueRequested": false,
                                                    "nodeType": "Literal",
                                                    "src": "42031:1:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_rational_0_by_1",
                                                      "typeString": "int_const 0"
                                                    },
                                                    "value": "0"
                                                  },
                                                  {
                                                    "expression": {
                                                      "id": 21661,
                                                      "name": "_split",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21471,
                                                      "src": "42050:6:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                        "typeString": "struct JBSplit memory"
                                                      }
                                                    },
                                                    "id": 21662,
                                                    "isConstant": false,
                                                    "isLValue": true,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberName": "preferClaimed",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 35984,
                                                    "src": "42050:20:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bool",
                                                      "typeString": "bool"
                                                    }
                                                  },
                                                  {
                                                    "hexValue": "",
                                                    "id": 21663,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "kind": "string",
                                                    "lValueRequested": false,
                                                    "nodeType": "Literal",
                                                    "src": "42088:2:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                      "typeString": "literal_string \"\""
                                                    },
                                                    "value": ""
                                                  },
                                                  {
                                                    "id": 21664,
                                                    "name": "_projectMetadata",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21612,
                                                    "src": "42108:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  }
                                                ],
                                                "expression": {
                                                  "argumentTypes": [
                                                    {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_address",
                                                      "typeString": "address"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_rational_0_by_1",
                                                      "typeString": "int_const 0"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_bool",
                                                      "typeString": "bool"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                      "typeString": "literal_string \"\""
                                                    },
                                                    {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  ],
                                                  "id": 21639,
                                                  "name": "_pay",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 22162,
                                                  "src": "41824:4:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$_t_uint256_$_t_address_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_uint256_$",
                                                    "typeString": "function (uint256,address,uint256,address,uint256,bool,string memory,bytes memory) returns (uint256)"
                                                  }
                                                },
                                                "id": 21665,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "kind": "functionCall",
                                                "lValueRequested": false,
                                                "names": [],
                                                "nodeType": "FunctionCall",
                                                "src": "41824:316:72",
                                                "tryCall": false,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "id": 21666,
                                              "nodeType": "ExpressionStatement",
                                              "src": "41824:316:72"
                                            },
                                            "id": 21667,
                                            "nodeType": "IfStatement",
                                            "src": "41666:474:72",
                                            "trueBody": {
                                              "expression": {
                                                "arguments": [
                                                  {
                                                    "expression": {
                                                      "id": 21631,
                                                      "name": "_split",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21471,
                                                      "src": "41727:6:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                        "typeString": "struct JBSplit memory"
                                                      }
                                                    },
                                                    "id": 21632,
                                                    "isConstant": false,
                                                    "isLValue": true,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberName": "projectId",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 35990,
                                                    "src": "41727:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  {
                                                    "id": 21633,
                                                    "name": "_netPayoutAmount",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21488,
                                                    "src": "41745:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  {
                                                    "hexValue": "66616c7365",
                                                    "id": 21634,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "kind": "bool",
                                                    "lValueRequested": false,
                                                    "nodeType": "Literal",
                                                    "src": "41763:5:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bool",
                                                      "typeString": "bool"
                                                    },
                                                    "value": "false"
                                                  },
                                                  {
                                                    "hexValue": "",
                                                    "id": 21635,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": true,
                                                    "kind": "string",
                                                    "lValueRequested": false,
                                                    "nodeType": "Literal",
                                                    "src": "41770:2:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                      "typeString": "literal_string \"\""
                                                    },
                                                    "value": ""
                                                  },
                                                  {
                                                    "id": 21636,
                                                    "name": "_projectMetadata",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21612,
                                                    "src": "41774:16:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  }
                                                ],
                                                "expression": {
                                                  "argumentTypes": [
                                                    {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_bool",
                                                      "typeString": "bool"
                                                    },
                                                    {
                                                      "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                                      "typeString": "literal_string \"\""
                                                    },
                                                    {
                                                      "typeIdentifier": "t_bytes_memory_ptr",
                                                      "typeString": "bytes memory"
                                                    }
                                                  ],
                                                  "id": 21630,
                                                  "name": "_addToBalanceOf",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 22206,
                                                  "src": "41711:15:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$",
                                                    "typeString": "function (uint256,uint256,bool,string memory,bytes memory)"
                                                  }
                                                },
                                                "id": 21637,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "kind": "functionCall",
                                                "lValueRequested": false,
                                                "names": [],
                                                "nodeType": "FunctionCall",
                                                "src": "41711:80:72",
                                                "tryCall": false,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_tuple$__$",
                                                  "typeString": "tuple()"
                                                }
                                              },
                                              "id": 21638,
                                              "nodeType": "ExpressionStatement",
                                              "src": "41711:80:72"
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              },
                              "id": 21830,
                              "nodeType": "IfStatement",
                              "src": "39285:5399:72",
                              "trueBody": {
                                "id": 21577,
                                "nodeType": "Block",
                                "src": "39340:1523:72",
                                "statements": [
                                  {
                                    "condition": {
                                      "baseExpression": {
                                        "id": 21502,
                                        "name": "isFeelessAddress",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 20285,
                                        "src": "39456:16:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                                          "typeString": "mapping(address => bool)"
                                        }
                                      },
                                      "id": 21508,
                                      "indexExpression": {
                                        "arguments": [
                                          {
                                            "expression": {
                                              "id": 21505,
                                              "name": "_split",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 21471,
                                              "src": "39481:6:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                "typeString": "struct JBSplit memory"
                                              }
                                            },
                                            "id": 21506,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "allocator",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 35997,
                                            "src": "39481:16:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_IJBSplitAllocator_$32009",
                                              "typeString": "contract IJBSplitAllocator"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_IJBSplitAllocator_$32009",
                                              "typeString": "contract IJBSplitAllocator"
                                            }
                                          ],
                                          "id": 21504,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "39473:7:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": {
                                            "id": 21503,
                                            "name": "address",
                                            "nodeType": "ElementaryTypeName",
                                            "src": "39473:7:72",
                                            "typeDescriptions": {}
                                          }
                                        },
                                        "id": 21507,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "39473:25:72",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "39456:43:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "falseBody": {
                                      "id": 21534,
                                      "nodeType": "Block",
                                      "src": "39702:400:72",
                                      "statements": [
                                        {
                                          "id": 21529,
                                          "nodeType": "UncheckedBlock",
                                          "src": "39716:215:72",
                                          "statements": [
                                            {
                                              "expression": {
                                                "id": 21527,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "leftHandSide": {
                                                  "id": 21513,
                                                  "name": "_netPayoutAmount",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 21488,
                                                  "src": "39742:16:72",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "nodeType": "Assignment",
                                                "operator": "=",
                                                "rightHandSide": {
                                                  "condition": {
                                                    "commonType": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    "id": 21517,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "leftExpression": {
                                                      "id": 21514,
                                                      "name": "_feeDiscount",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21438,
                                                      "src": "39761:12:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    },
                                                    "nodeType": "BinaryOperation",
                                                    "operator": "==",
                                                    "rightExpression": {
                                                      "expression": {
                                                        "id": 21515,
                                                        "name": "JBConstants",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": 35765,
                                                        "src": "39777:11:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                                                          "typeString": "type(library JBConstants)"
                                                        }
                                                      },
                                                      "id": 21516,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "memberName": "MAX_FEE_DISCOUNT",
                                                      "nodeType": "MemberAccess",
                                                      "referencedDeclaration": 35764,
                                                      "src": "39777:28:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    },
                                                    "src": "39761:44:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_bool",
                                                      "typeString": "bool"
                                                    }
                                                  },
                                                  "falseExpression": {
                                                    "commonType": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    },
                                                    "id": 21525,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "leftExpression": {
                                                      "id": 21519,
                                                      "name": "_payoutAmount",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 21477,
                                                      "src": "39856:13:72",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    },
                                                    "nodeType": "BinaryOperation",
                                                    "operator": "-",
                                                    "rightExpression": {
                                                      "arguments": [
                                                        {
                                                          "id": 21521,
                                                          "name": "_payoutAmount",
                                                          "nodeType": "Identifier",
                                                          "overloadedDeclarations": [],
                                                          "referencedDeclaration": 21477,
                                                          "src": "39883:13:72",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_uint256",
                                                            "typeString": "uint256"
                                                          }
                                                        },
                                                        {
                                                          "id": 21522,
                                                          "name": "fee",
                                                          "nodeType": "Identifier",
                                                          "overloadedDeclarations": [],
                                                          "referencedDeclaration": 20274,
                                                          "src": "39898:3:72",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_uint256",
                                                            "typeString": "uint256"
                                                          }
                                                        },
                                                        {
                                                          "id": 21523,
                                                          "name": "_feeDiscount",
                                                          "nodeType": "Identifier",
                                                          "overloadedDeclarations": [],
                                                          "referencedDeclaration": 21438,
                                                          "src": "39903:12:72",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_uint256",
                                                            "typeString": "uint256"
                                                          }
                                                        }
                                                      ],
                                                      "expression": {
                                                        "argumentTypes": [
                                                          {
                                                            "typeIdentifier": "t_uint256",
                                                            "typeString": "uint256"
                                                          },
                                                          {
                                                            "typeIdentifier": "t_uint256",
                                                            "typeString": "uint256"
                                                          },
                                                          {
                                                            "typeIdentifier": "t_uint256",
                                                            "typeString": "uint256"
                                                          }
                                                        ],
                                                        "id": 21520,
                                                        "name": "_feeAmount",
                                                        "nodeType": "Identifier",
                                                        "overloadedDeclarations": [],
                                                        "referencedDeclaration": 22394,
                                                        "src": "39872:10:72",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                                                        }
                                                      },
                                                      "id": 21524,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": false,
                                                      "kind": "functionCall",
                                                      "lValueRequested": false,
                                                      "names": [],
                                                      "nodeType": "FunctionCall",
                                                      "src": "39872:44:72",
                                                      "tryCall": false,
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint256",
                                                        "typeString": "uint256"
                                                      }
                                                    },
                                                    "src": "39856:60:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  "id": 21526,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "nodeType": "Conditional",
                                                  "src": "39761:155:72",
                                                  "trueExpression": {
                                                    "id": 21518,
                                                    "name": "_payoutAmount",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 21477,
                                                    "src": "39824:13:72",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "src": "39742:174:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "id": 21528,
                                              "nodeType": "ExpressionStatement",
                                              "src": "39742:174:72"
                                            }
                                          ]
                                        },
                                        {
                                          "expression": {
                                            "id": 21532,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "leftHandSide": {
                                              "id": 21530,
                                              "name": "feeEligibleDistributionAmount",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 21443,
                                              "src": "40043:29:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "nodeType": "Assignment",
                                            "operator": "+=",
                                            "rightHandSide": {
                                              "id": 21531,
                                              "name": "_payoutAmount",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 21477,
                                              "src": "40076:13:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "src": "40043:46:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          },
                                          "id": 21533,
                                          "nodeType": "ExpressionStatement",
                                          "src": "40043:46:72"
                                        }
                                      ]
                                    },
                                    "id": 21535,
                                    "nodeType": "IfStatement",
                                    "src": "39452:650:72",
                                    "trueBody": {
                                      "expression": {
                                        "id": 21511,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftHandSide": {
                                          "id": 21509,
                                          "name": "_netPayoutAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21488,
                                          "src": "39513:16:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "nodeType": "Assignment",
                                        "operator": "=",
                                        "rightHandSide": {
                                          "id": 21510,
                                          "name": "_payoutAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21477,
                                          "src": "39532:13:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "src": "39513:32:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "id": 21512,
                                      "nodeType": "ExpressionStatement",
                                      "src": "39513:32:72"
                                    }
                                  },
                                  {
                                    "expression": {
                                      "arguments": [
                                        {
                                          "arguments": [
                                            {
                                              "expression": {
                                                "id": 21539,
                                                "name": "_split",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 21471,
                                                "src": "40195:6:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                  "typeString": "struct JBSplit memory"
                                                }
                                              },
                                              "id": 21540,
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "memberName": "allocator",
                                              "nodeType": "MemberAccess",
                                              "referencedDeclaration": 35997,
                                              "src": "40195:16:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_IJBSplitAllocator_$32009",
                                                "typeString": "contract IJBSplitAllocator"
                                              }
                                            }
                                          ],
                                          "expression": {
                                            "argumentTypes": [
                                              {
                                                "typeIdentifier": "t_contract$_IJBSplitAllocator_$32009",
                                                "typeString": "contract IJBSplitAllocator"
                                              }
                                            ],
                                            "id": 21538,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": true,
                                            "lValueRequested": false,
                                            "nodeType": "ElementaryTypeNameExpression",
                                            "src": "40187:7:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_type$_t_address_$",
                                              "typeString": "type(address)"
                                            },
                                            "typeName": {
                                              "id": 21537,
                                              "name": "address",
                                              "nodeType": "ElementaryTypeName",
                                              "src": "40187:7:72",
                                              "typeDescriptions": {}
                                            }
                                          },
                                          "id": 21541,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "kind": "typeConversion",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "40187:25:72",
                                          "tryCall": false,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        {
                                          "id": 21542,
                                          "name": "_netPayoutAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21488,
                                          "src": "40214:16:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          },
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        ],
                                        "id": 21536,
                                        "name": "_beforeTransferTo",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 21002,
                                        "src": "40169:17:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",
                                          "typeString": "function (address,uint256)"
                                        }
                                      },
                                      "id": 21543,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "40169:62:72",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_tuple$__$",
                                        "typeString": "tuple()"
                                      }
                                    },
                                    "id": 21544,
                                    "nodeType": "ExpressionStatement",
                                    "src": "40169:62:72"
                                  },
                                  {
                                    "assignments": [
                                      21546
                                    ],
                                    "declarations": [
                                      {
                                        "constant": false,
                                        "id": 21546,
                                        "mutability": "mutable",
                                        "name": "_payableValue",
                                        "nameLocation": "40320:13:72",
                                        "nodeType": "VariableDeclaration",
                                        "scope": 21577,
                                        "src": "40312:21:72",
                                        "stateVariable": false,
                                        "storageLocation": "default",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        },
                                        "typeName": {
                                          "id": 21545,
                                          "name": "uint256",
                                          "nodeType": "ElementaryTypeName",
                                          "src": "40312:7:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "visibility": "internal"
                                      }
                                    ],
                                    "id": 21554,
                                    "initialValue": {
                                      "condition": {
                                        "commonType": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        "id": 21550,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "id": 21547,
                                          "name": "token",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 22475,
                                          "src": "40336:5:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "==",
                                        "rightExpression": {
                                          "expression": {
                                            "id": 21548,
                                            "name": "JBTokens",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 32019,
                                            "src": "40345:8:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_type$_t_contract$_JBTokens_$32019_$",
                                              "typeString": "type(library JBTokens)"
                                            }
                                          },
                                          "id": 21549,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "ETH",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 32018,
                                          "src": "40345:12:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        "src": "40336:21:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "falseExpression": {
                                        "hexValue": "30",
                                        "id": 21552,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "number",
                                        "lValueRequested": false,
                                        "nodeType": "Literal",
                                        "src": "40379:1:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_0_by_1",
                                          "typeString": "int_const 0"
                                        },
                                        "value": "0"
                                      },
                                      "id": 21553,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "Conditional",
                                      "src": "40336:44:72",
                                      "trueExpression": {
                                        "id": 21551,
                                        "name": "_netPayoutAmount",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 21488,
                                        "src": "40360:16:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "nodeType": "VariableDeclarationStatement",
                                    "src": "40312:68:72"
                                  },
                                  {
                                    "assignments": [
                                      21557
                                    ],
                                    "declarations": [
                                      {
                                        "constant": false,
                                        "id": 21557,
                                        "mutability": "mutable",
                                        "name": "_data",
                                        "nameLocation": "40477:5:72",
                                        "nodeType": "VariableDeclaration",
                                        "scope": 21577,
                                        "src": "40448:34:72",
                                        "stateVariable": false,
                                        "storageLocation": "memory",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_memory_ptr",
                                          "typeString": "struct JBSplitAllocationData"
                                        },
                                        "typeName": {
                                          "id": 21556,
                                          "nodeType": "UserDefinedTypeName",
                                          "pathNode": {
                                            "id": 21555,
                                            "name": "JBSplitAllocationData",
                                            "nodeType": "IdentifierPath",
                                            "referencedDeclaration": 32036,
                                            "src": "40448:21:72"
                                          },
                                          "referencedDeclaration": 32036,
                                          "src": "40448:21:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_storage_ptr",
                                            "typeString": "struct JBSplitAllocationData"
                                          }
                                        },
                                        "visibility": "internal"
                                      }
                                    ],
                                    "id": 21566,
                                    "initialValue": {
                                      "arguments": [
                                        {
                                          "id": 21559,
                                          "name": "token",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 22475,
                                          "src": "40520:5:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        {
                                          "id": 21560,
                                          "name": "_netPayoutAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21488,
                                          "src": "40539:16:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        {
                                          "id": 21561,
                                          "name": "decimals",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 22479,
                                          "src": "40569:8:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        {
                                          "id": 21562,
                                          "name": "_projectId",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21430,
                                          "src": "40591:10:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        {
                                          "id": 21563,
                                          "name": "_group",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21434,
                                          "src": "40615:6:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        {
                                          "id": 21564,
                                          "name": "_split",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21471,
                                          "src": "40635:6:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                            "typeString": "struct JBSplit memory"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          },
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          },
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          },
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          },
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          },
                                          {
                                            "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                            "typeString": "struct JBSplit memory"
                                          }
                                        ],
                                        "id": 21558,
                                        "name": "JBSplitAllocationData",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 32036,
                                        "src": "40485:21:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_type$_t_struct$_JBSplitAllocationData_$32036_storage_ptr_$",
                                          "typeString": "type(struct JBSplitAllocationData storage pointer)"
                                        }
                                      },
                                      "id": 21565,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "structConstructorCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "40485:168:72",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_memory_ptr",
                                        "typeString": "struct JBSplitAllocationData memory"
                                      }
                                    },
                                    "nodeType": "VariableDeclarationStatement",
                                    "src": "40448:205:72"
                                  },
                                  {
                                    "expression": {
                                      "arguments": [
                                        {
                                          "id": 21574,
                                          "name": "_data",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 21557,
                                          "src": "40772:5:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_memory_ptr",
                                            "typeString": "struct JBSplitAllocationData memory"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_memory_ptr",
                                            "typeString": "struct JBSplitAllocationData memory"
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_struct$_JBSplitAllocationData_$32036_memory_ptr",
                                              "typeString": "struct JBSplitAllocationData memory"
                                            }
                                          ],
                                          "expression": {
                                            "expression": {
                                              "id": 21567,
                                              "name": "_split",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 21471,
                                              "src": "40724:6:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                                "typeString": "struct JBSplit memory"
                                              }
                                            },
                                            "id": 21570,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "allocator",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 35997,
                                            "src": "40724:16:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_IJBSplitAllocator_$32009",
                                              "typeString": "contract IJBSplitAllocator"
                                            }
                                          },
                                          "id": 21571,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "allocate",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 32008,
                                          "src": "40724:25:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_external_payable$_t_struct$_JBSplitAllocationData_$32036_memory_ptr_$returns$__$",
                                            "typeString": "function (struct JBSplitAllocationData memory) payable external"
                                          }
                                        },
                                        "id": 21573,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "names": [
                                          "value"
                                        ],
                                        "nodeType": "FunctionCallOptions",
                                        "options": [
                                          {
                                            "id": 21572,
                                            "name": "_payableValue",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 21546,
                                            "src": "40757:13:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "src": "40724:47:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_payable$_t_struct$_JBSplitAllocationData_$32036_memory_ptr_$returns$__$value",
                                          "typeString": "function (struct JBSplitAllocationData memory) payable external"
                                        }
                                      },
                                      "id": 21575,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "40724:54:72",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_tuple$__$",
                                        "typeString": "tuple()"
                                      }
                                    },
                                    "id": 21576,
                                    "nodeType": "ExpressionStatement",
                                    "src": "40724:54:72"
                                  }
                                ]
                              }
                            },
                            {
                              "id": 21837,
                              "nodeType": "UncheckedBlock",
                              "src": "44761:80:72",
                              "statements": [
                                {
                                  "expression": {
                                    "id": 21835,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftHandSide": {
                                      "id": 21831,
                                      "name": "leftoverAmount",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 21441,
                                      "src": "44783:14:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "nodeType": "Assignment",
                                    "operator": "=",
                                    "rightHandSide": {
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 21834,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "id": 21832,
                                        "name": "leftoverAmount",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 21441,
                                        "src": "44800:14:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "-",
                                      "rightExpression": {
                                        "id": 21833,
                                        "name": "_payoutAmount",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 21477,
                                        "src": "44817:13:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "44800:30:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "src": "44783:47:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "id": 21836,
                                  "nodeType": "ExpressionStatement",
                                  "src": "44783:47:72"
                                }
                              ]
                            }
                          ]
                        }
                      },
                      {
                        "eventCall": {
                          "arguments": [
                            {
                              "id": 21841,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21430,
                              "src": "44895:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21842,
                              "name": "_domain",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21432,
                              "src": "44915:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21843,
                              "name": "_group",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21434,
                              "src": "44932:6:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21844,
                              "name": "_split",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21471,
                              "src": "44948:6:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                "typeString": "struct JBSplit memory"
                              }
                            },
                            {
                              "id": 21845,
                              "name": "_netPayoutAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21488,
                              "src": "44964:16:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "id": 21846,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "44990:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 21847,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "44990:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_struct$_JBSplit_$35998_memory_ptr",
                                "typeString": "struct JBSplit memory"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 21840,
                            "name": "DistributeToPayoutSplit",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22913,
                            "src": "44862:23:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_struct$_JBSplit_$35998_memory_ptr_$_t_uint256_$_t_address_$returns$__$",
                              "typeString": "function (uint256,uint256,uint256,struct JBSplit memory,uint256,address)"
                            }
                          },
                          "id": 21848,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "44862:146:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21849,
                        "nodeType": "EmitStatement",
                        "src": "44857:151:72"
                      },
                      {
                        "id": 21853,
                        "nodeType": "UncheckedBlock",
                        "src": "45017:33:72",
                        "statements": [
                          {
                            "expression": {
                              "id": 21851,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "UnaryOperation",
                              "operator": "++",
                              "prefix": true,
                              "src": "45037:4:72",
                              "subExpression": {
                                "id": 21850,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21462,
                                "src": "45039:2:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 21852,
                            "nodeType": "ExpressionStatement",
                            "src": "45037:4:72"
                          }
                        ]
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 21468,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 21465,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21462,
                      "src": "38714:2:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 21466,
                        "name": "_splits",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21453,
                        "src": "38719:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_JBSplit_$35998_memory_ptr_$dyn_memory_ptr",
                          "typeString": "struct JBSplit memory[] memory"
                        }
                      },
                      "id": 21467,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "38719:14:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "38714:19:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 21855,
                  "initializationExpression": {
                    "assignments": [
                      21462
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 21462,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "38706:2:72",
                        "nodeType": "VariableDeclaration",
                        "scope": 21855,
                        "src": "38698:10:72",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 21461,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "38698:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 21464,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 21463,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "38711:1:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "38698:14:72"
                  },
                  "nodeType": "ForStatement",
                  "src": "38693:6363:72"
                }
              ]
            },
            "documentation": {
              "id": 21428,
              "nodeType": "StructuredDocumentation",
              "src": "37436:755:72",
              "text": "@notice\nPays out splits for a project's funding cycle configuration.\n@param _projectId The ID of the project for which payout splits are being distributed.\n@param _domain The domain of the splits to distribute the payout between.\n@param _group The group of the splits to distribute the payout between.\n@param _amount The total amount being distributed, as a fixed point number with the same number of decimals as this terminal.\n@param _feeDiscount The amount of discount to apply to the fee, out of the MAX_FEE.\n@return leftoverAmount If the leftover amount if the splits don't add up to 100%.\n@return feeEligibleDistributionAmount The total amount of distributions that are eligible to have fees taken from."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_distributeToPayoutSplitsOf",
            "nameLocation": "38203:27:72",
            "parameters": {
              "id": 21439,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21430,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "38244:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21857,
                  "src": "38236:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21429,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "38236:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21432,
                  "mutability": "mutable",
                  "name": "_domain",
                  "nameLocation": "38268:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21857,
                  "src": "38260:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21431,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "38260:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21434,
                  "mutability": "mutable",
                  "name": "_group",
                  "nameLocation": "38289:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21857,
                  "src": "38281:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21433,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "38281:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21436,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "38309:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21857,
                  "src": "38301:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21435,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "38301:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21438,
                  "mutability": "mutable",
                  "name": "_feeDiscount",
                  "nameLocation": "38330:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21857,
                  "src": "38322:20:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21437,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "38322:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "38230:116:72"
            },
            "returnParameters": {
              "id": 21444,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21441,
                  "mutability": "mutable",
                  "name": "leftoverAmount",
                  "nameLocation": "38373:14:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21857,
                  "src": "38365:22:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21440,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "38365:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21443,
                  "mutability": "mutable",
                  "name": "feeEligibleDistributionAmount",
                  "nameLocation": "38397:29:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21857,
                  "src": "38389:37:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21442,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "38389:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "38364:63:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 21931,
            "nodeType": "FunctionDefinition",
            "src": "45627:708:72",
            "nodes": [],
            "body": {
              "id": 21930,
              "nodeType": "Block",
              "src": "45828:507:72",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 21880,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 21874,
                      "name": "feeAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21872,
                      "src": "45834:9:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 21876,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21865,
                          "src": "45857:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 21877,
                          "name": "fee",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20274,
                          "src": "45866:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 21878,
                          "name": "_feeDiscount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21869,
                          "src": "45871:12:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 21875,
                        "name": "_feeAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22394,
                        "src": "45846:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 21879,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "45846:38:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "45834:50:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 21881,
                  "nodeType": "ExpressionStatement",
                  "src": "45834:50:72"
                },
                {
                  "condition": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "id": 21882,
                        "name": "_fundingCycle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21863,
                        "src": "45895:13:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      "id": 21883,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "shouldHoldFees",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23675,
                      "src": "45895:28:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_bool_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                        "typeString": "function (struct JBFundingCycle memory) pure returns (bool)"
                      }
                    },
                    "id": 21884,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "45895:30:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 21928,
                    "nodeType": "Block",
                    "src": "46157:174:72",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "id": 21915,
                              "name": "feeAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21872,
                              "src": "46203:9:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21916,
                              "name": "_beneficiary",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21867,
                              "src": "46214:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 21914,
                            "name": "_processFee",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22007,
                            "src": "46191:11:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$returns$__$",
                              "typeString": "function (uint256,address)"
                            }
                          },
                          "id": 21917,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "46191:36:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21918,
                        "nodeType": "ExpressionStatement",
                        "src": "46191:36:72"
                      },
                      {
                        "eventCall": {
                          "arguments": [
                            {
                              "id": 21920,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21860,
                              "src": "46269:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21921,
                              "name": "feeAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21872,
                              "src": "46281:9:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "hexValue": "66616c7365",
                              "id": 21922,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "46292:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "false"
                            },
                            {
                              "id": 21923,
                              "name": "_beneficiary",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21867,
                              "src": "46299:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "expression": {
                                "id": 21924,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "46313:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 21925,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "46313:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 21919,
                            "name": "ProcessFee",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22822,
                            "src": "46258:10:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bool_$_t_address_$_t_address_$returns$__$",
                              "typeString": "function (uint256,uint256,bool,address,address)"
                            }
                          },
                          "id": 21926,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "46258:66:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21927,
                        "nodeType": "EmitStatement",
                        "src": "46253:71:72"
                      }
                    ]
                  },
                  "id": 21929,
                  "nodeType": "IfStatement",
                  "src": "45891:440:72",
                  "trueBody": {
                    "id": 21913,
                    "nodeType": "Block",
                    "src": "45927:224:72",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "id": 21890,
                                  "name": "_amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21865,
                                  "src": "45999:7:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "arguments": [
                                    {
                                      "id": 21893,
                                      "name": "fee",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 20274,
                                      "src": "46015:3:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "id": 21892,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "46008:6:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_uint32_$",
                                      "typeString": "type(uint32)"
                                    },
                                    "typeName": {
                                      "id": 21891,
                                      "name": "uint32",
                                      "nodeType": "ElementaryTypeName",
                                      "src": "46008:6:72",
                                      "typeDescriptions": {}
                                    }
                                  },
                                  "id": 21894,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "46008:11:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint32",
                                    "typeString": "uint32"
                                  }
                                },
                                {
                                  "arguments": [
                                    {
                                      "id": 21897,
                                      "name": "_feeDiscount",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 21869,
                                      "src": "46028:12:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "id": 21896,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "46021:6:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_uint32_$",
                                      "typeString": "type(uint32)"
                                    },
                                    "typeName": {
                                      "id": 21895,
                                      "name": "uint32",
                                      "nodeType": "ElementaryTypeName",
                                      "src": "46021:6:72",
                                      "typeDescriptions": {}
                                    }
                                  },
                                  "id": 21898,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "46021:20:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint32",
                                    "typeString": "uint32"
                                  }
                                },
                                {
                                  "id": 21899,
                                  "name": "_beneficiary",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21867,
                                  "src": "46043:12:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_uint32",
                                    "typeString": "uint32"
                                  },
                                  {
                                    "typeIdentifier": "t_uint32",
                                    "typeString": "uint32"
                                  },
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 21889,
                                "name": "JBFee",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 24157,
                                "src": "45993:5:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_struct$_JBFee_$24157_storage_ptr_$",
                                  "typeString": "type(struct JBFee storage pointer)"
                                }
                              },
                              "id": 21900,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "structConstructorCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "45993:63:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                "typeString": "struct JBFee memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                "typeString": "struct JBFee memory"
                              }
                            ],
                            "expression": {
                              "baseExpression": {
                                "id": 21885,
                                "name": "_heldFeesOf",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 20236,
                                "src": "45964:11:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                                  "typeString": "mapping(uint256 => struct JBFee storage ref[] storage ref)"
                                }
                              },
                              "id": 21887,
                              "indexExpression": {
                                "id": 21886,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21860,
                                "src": "45976:10:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "45964:23:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage",
                                "typeString": "struct JBFee storage ref[] storage ref"
                              }
                            },
                            "id": 21888,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "push",
                            "nodeType": "MemberAccess",
                            "src": "45964:28:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr_$_t_struct$_JBFee_$24157_storage_$returns$__$bound_to$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr_$",
                              "typeString": "function (struct JBFee storage ref[] storage pointer,struct JBFee storage ref)"
                            }
                          },
                          "id": 21901,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "45964:93:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21902,
                        "nodeType": "ExpressionStatement",
                        "src": "45964:93:72"
                      },
                      {
                        "eventCall": {
                          "arguments": [
                            {
                              "id": 21904,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21860,
                              "src": "46079:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21905,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21865,
                              "src": "46091:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21906,
                              "name": "fee",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20274,
                              "src": "46100:3:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21907,
                              "name": "_feeDiscount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21869,
                              "src": "46105:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21908,
                              "name": "_beneficiary",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21867,
                              "src": "46119:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "expression": {
                                "id": 21909,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "46133:3:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 21910,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "46133:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 21903,
                            "name": "HoldFee",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22810,
                            "src": "46071:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$_t_address_$returns$__$",
                              "typeString": "function (uint256,uint256,uint256,uint256,address,address)"
                            }
                          },
                          "id": 21911,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "46071:73:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21912,
                        "nodeType": "EmitStatement",
                        "src": "46066:78:72"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 21858,
              "nodeType": "StructuredDocumentation",
              "src": "45064:560:72",
              "text": "@notice\nTakes a fee into the platform's project, which has an id of _PROTOCOL_PROJECT_ID.\n@param _projectId The ID of the project having fees taken from.\n@param _fundingCycle The funding cycle during which the fee is being taken.\n@param _amount The amount of the fee to take, as a floating point number with 18 decimals.\n@param _beneficiary The address to mint the platforms tokens for.\n@param _feeDiscount The amount of discount to apply to the fee, out of the MAX_FEE.\n@return feeAmount The amount of the fee taken."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_takeFeeFrom",
            "nameLocation": "45636:12:72",
            "parameters": {
              "id": 21870,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21860,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "45662:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21931,
                  "src": "45654:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21859,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "45654:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21863,
                  "mutability": "mutable",
                  "name": "_fundingCycle",
                  "nameLocation": "45700:13:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21931,
                  "src": "45678:35:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                    "typeString": "struct JBFundingCycle"
                  },
                  "typeName": {
                    "id": 21862,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 21861,
                      "name": "JBFundingCycle",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 35849,
                      "src": "45678:14:72"
                    },
                    "referencedDeclaration": 35849,
                    "src": "45678:14:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                      "typeString": "struct JBFundingCycle"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21865,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "45727:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21931,
                  "src": "45719:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21864,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "45719:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21867,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "45748:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21931,
                  "src": "45740:20:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 21866,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "45740:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21869,
                  "mutability": "mutable",
                  "name": "_feeDiscount",
                  "nameLocation": "45774:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21931,
                  "src": "45766:20:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21868,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "45766:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "45648:142:72"
            },
            "returnParameters": {
              "id": 21873,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21872,
                  "mutability": "mutable",
                  "name": "feeAmount",
                  "nameLocation": "45817:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 21931,
                  "src": "45809:17:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21871,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "45809:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "45808:19:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 22007,
            "nodeType": "FunctionDefinition",
            "src": "46557:997:72",
            "nodes": [],
            "body": {
              "id": 22006,
              "nodeType": "Block",
              "src": "46626:928:72",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    21941
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 21941,
                      "mutability": "mutable",
                      "name": "_terminal",
                      "nameLocation": "46701:9:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 22006,
                      "src": "46682:28:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                        "typeString": "contract IJBPaymentTerminal"
                      },
                      "typeName": {
                        "id": 21940,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 21939,
                          "name": "IJBPaymentTerminal",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 31994,
                          "src": "46682:18:72"
                        },
                        "referencedDeclaration": 31994,
                        "src": "46682:18:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                          "typeString": "contract IJBPaymentTerminal"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 21947,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 21944,
                        "name": "_PROTOCOL_PROJECT_ID",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20229,
                        "src": "46741:20:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 21945,
                        "name": "token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22475,
                        "src": "46763:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "id": 21942,
                        "name": "directory",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20246,
                        "src": "46713:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                          "typeString": "contract IJBDirectory"
                        }
                      },
                      "id": 21943,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "primaryTerminalOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 31890,
                      "src": "46713:27:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$_t_address_$returns$_t_contract$_IJBPaymentTerminal_$31994_$",
                        "typeString": "function (uint256,address) view external returns (contract IJBPaymentTerminal)"
                      }
                    },
                    "id": 21946,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "46713:56:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                      "typeString": "contract IJBPaymentTerminal"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "46682:87:72"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                      "typeString": "contract IJBPaymentTerminal"
                    },
                    "id": 21950,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 21948,
                      "name": "_terminal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21941,
                      "src": "46880:9:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                        "typeString": "contract IJBPaymentTerminal"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "id": 21949,
                      "name": "this",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": -28,
                      "src": "46893:4:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                        "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                      }
                    },
                    "src": "46880:17:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 22004,
                    "nodeType": "Block",
                    "src": "47032:518:72",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "id": 21971,
                                  "name": "_terminal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 21941,
                                  "src": "47117:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                    "typeString": "contract IJBPaymentTerminal"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                    "typeString": "contract IJBPaymentTerminal"
                                  }
                                ],
                                "id": 21970,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "47109:7:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 21969,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "47109:7:72",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 21972,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "47109:18:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 21973,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21934,
                              "src": "47129:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 21968,
                            "name": "_beforeTransferTo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21002,
                            "src": "47091:17:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",
                              "typeString": "function (address,uint256)"
                            }
                          },
                          "id": 21974,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "47091:46:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 21975,
                        "nodeType": "ExpressionStatement",
                        "src": "47091:46:72"
                      },
                      {
                        "assignments": [
                          21977
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 21977,
                            "mutability": "mutable",
                            "name": "_payableValue",
                            "nameLocation": "47218:13:72",
                            "nodeType": "VariableDeclaration",
                            "scope": 22004,
                            "src": "47210:21:72",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 21976,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "47210:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 21985,
                        "initialValue": {
                          "condition": {
                            "commonType": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            },
                            "id": 21981,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 21978,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22475,
                              "src": "47234:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "expression": {
                                "id": 21979,
                                "name": "JBTokens",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 32019,
                                "src": "47243:8:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_JBTokens_$32019_$",
                                  "typeString": "type(library JBTokens)"
                                }
                              },
                              "id": 21980,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "ETH",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 32018,
                              "src": "47243:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "src": "47234:21:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "falseExpression": {
                            "hexValue": "30",
                            "id": 21983,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "47268:1:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "id": 21984,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "Conditional",
                          "src": "47234:35:72",
                          "trueExpression": {
                            "id": 21982,
                            "name": "_amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 21934,
                            "src": "47258:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "47210:59:72"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "id": 21991,
                              "name": "_PROTOCOL_PROJECT_ID",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20229,
                              "src": "47350:20:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21992,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21934,
                              "src": "47380:7:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 21993,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22475,
                              "src": "47397:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 21994,
                              "name": "_beneficiary",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 21936,
                              "src": "47412:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "hexValue": "30",
                              "id": 21995,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "47434:1:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "hexValue": "66616c7365",
                              "id": 21996,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "47445:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "false"
                            },
                            {
                              "hexValue": "",
                              "id": 21997,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "47460:2:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                "typeString": "literal_string \"\""
                              },
                              "value": ""
                            },
                            {
                              "arguments": [
                                {
                                  "hexValue": "",
                                  "id": 22000,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "string",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "47478:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                    "typeString": "literal_string \"\""
                                  },
                                  "value": ""
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                    "typeString": "literal_string \"\""
                                  }
                                ],
                                "id": 21999,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "47472:5:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                                  "typeString": "type(bytes storage pointer)"
                                },
                                "typeName": {
                                  "id": 21998,
                                  "name": "bytes",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "47472:5:72",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 22001,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "47472:9:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                "typeString": "literal_string \"\""
                              },
                              {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                },
                                {
                                  "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                  "typeString": "literal_string \"\""
                                },
                                {
                                  "typeIdentifier": "t_bytes_memory_ptr",
                                  "typeString": "bytes memory"
                                }
                              ],
                              "expression": {
                                "id": 21986,
                                "name": "_terminal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21941,
                                "src": "47305:9:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                  "typeString": "contract IJBPaymentTerminal"
                                }
                              },
                              "id": 21988,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "pay",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 31980,
                              "src": "47305:13:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_uint256_$",
                                "typeString": "function (uint256,uint256,address,address,uint256,bool,string memory,bytes memory) payable external returns (uint256)"
                              }
                            },
                            "id": 21990,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "names": [
                              "value"
                            ],
                            "nodeType": "FunctionCallOptions",
                            "options": [
                              {
                                "id": 21989,
                                "name": "_payableValue",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 21977,
                                "src": "47326:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "src": "47305:35:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_payable$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_uint256_$value",
                              "typeString": "function (uint256,uint256,address,address,uint256,bool,string memory,bytes memory) payable external returns (uint256)"
                            }
                          },
                          "id": 22002,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "47305:184:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 22003,
                        "nodeType": "ExpressionStatement",
                        "src": "47305:184:72"
                      }
                    ]
                  },
                  "id": 22005,
                  "nodeType": "IfStatement",
                  "src": "46876:674:72",
                  "trueBody": {
                    "expression": {
                      "arguments": [
                        {
                          "id": 21952,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21934,
                          "src": "46910:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "arguments": [
                            {
                              "id": 21955,
                              "name": "this",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -28,
                              "src": "46927:4:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_JBPayoutRedemptionPaymentTerminal_$22462",
                                "typeString": "contract JBPayoutRedemptionPaymentTerminal"
                              }
                            ],
                            "id": 21954,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "46919:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 21953,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "46919:7:72",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 21956,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "46919:13:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        {
                          "id": 21957,
                          "name": "_PROTOCOL_PROJECT_ID",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20229,
                          "src": "46934:20:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 21958,
                          "name": "_beneficiary",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 21936,
                          "src": "46956:12:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        {
                          "hexValue": "30",
                          "id": 21959,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "46970:1:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        {
                          "hexValue": "66616c7365",
                          "id": 21960,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "46973:5:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        {
                          "hexValue": "",
                          "id": 21961,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "string",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "46980:2:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                            "typeString": "literal_string \"\""
                          },
                          "value": ""
                        },
                        {
                          "arguments": [
                            {
                              "hexValue": "",
                              "id": 21964,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "46990:2:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                "typeString": "literal_string \"\""
                              },
                              "value": ""
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                "typeString": "literal_string \"\""
                              }
                            ],
                            "id": 21963,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "46984:5:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                              "typeString": "type(bytes storage pointer)"
                            },
                            "typeName": {
                              "id": 21962,
                              "name": "bytes",
                              "nodeType": "ElementaryTypeName",
                              "src": "46984:5:72",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 21965,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "46984:9:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes_memory_ptr",
                            "typeString": "bytes memory"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          {
                            "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                            "typeString": "literal_string \"\""
                          },
                          {
                            "typeIdentifier": "t_bytes_memory_ptr",
                            "typeString": "bytes memory"
                          }
                        ],
                        "id": 21951,
                        "name": "_pay",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22162,
                        "src": "46905:4:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$_t_uint256_$_t_address_$_t_uint256_$_t_bool_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_uint256_$",
                          "typeString": "function (uint256,address,uint256,address,uint256,bool,string memory,bytes memory) returns (uint256)"
                        }
                      },
                      "id": 21966,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "46905:89:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 21967,
                    "nodeType": "ExpressionStatement",
                    "src": "46905:89:72"
                  }
                }
              ]
            },
            "documentation": {
              "id": 21932,
              "nodeType": "StructuredDocumentation",
              "src": "46339:215:72",
              "text": "@notice\nProcess a fee of the specified amount.\n@param _amount The fee amount, as a floating point number with 18 decimals.\n@param _beneficiary The address to mint the platform's tokens for."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_processFee",
            "nameLocation": "46566:11:72",
            "parameters": {
              "id": 21937,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 21934,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "46586:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22007,
                  "src": "46578:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 21933,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "46578:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 21936,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "46603:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22007,
                  "src": "46595:20:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 21935,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "46595:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "46577:39:72"
            },
            "returnParameters": {
              "id": 21938,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "46626:0:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 22162,
            "nodeType": "FunctionDefinition",
            "src": "48951:2541:72",
            "nodes": [],
            "body": {
              "id": 22161,
              "nodeType": "Block",
              "src": "49225:2267:72",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 22034,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 22029,
                      "name": "_beneficiary",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22016,
                      "src": "49280:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "arguments": [
                        {
                          "hexValue": "30",
                          "id": 22032,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "49304:1:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          }
                        ],
                        "id": 22031,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "49296:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": {
                          "id": 22030,
                          "name": "address",
                          "nodeType": "ElementaryTypeName",
                          "src": "49296:7:72",
                          "typeDescriptions": {}
                        }
                      },
                      "id": 22033,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "49296:10:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "49280:26:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 22038,
                  "nodeType": "IfStatement",
                  "src": "49276:60:72",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 22035,
                        "name": "PAY_TO_ZERO_ADDRESS",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20196,
                        "src": "49315:19:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 22036,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "49315:21:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 22037,
                    "nodeType": "RevertStatement",
                    "src": "49308:28:72"
                  }
                },
                {
                  "assignments": [
                    22041
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 22041,
                      "mutability": "mutable",
                      "name": "_fundingCycle",
                      "nameLocation": "49528:13:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 22161,
                      "src": "49506:35:72",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle"
                      },
                      "typeName": {
                        "id": 22040,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 22039,
                          "name": "JBFundingCycle",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35849,
                          "src": "49506:14:72"
                        },
                        "referencedDeclaration": 35849,
                        "src": "49506:14:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                          "typeString": "struct JBFundingCycle"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 22042,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "49506:35:72"
                },
                {
                  "id": 22144,
                  "nodeType": "Block",
                  "src": "49649:1611:72",
                  "statements": [
                    {
                      "assignments": [
                        22045
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 22045,
                          "mutability": "mutable",
                          "name": "_delegate",
                          "nameLocation": "49672:9:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 22144,
                          "src": "49657:24:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                            "typeString": "contract IJBPayDelegate"
                          },
                          "typeName": {
                            "id": 22044,
                            "nodeType": "UserDefinedTypeName",
                            "pathNode": {
                              "id": 22043,
                              "name": "IJBPayDelegate",
                              "nodeType": "IdentifierPath",
                              "referencedDeclaration": 38522,
                              "src": "49657:14:72"
                            },
                            "referencedDeclaration": 38522,
                            "src": "49657:14:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                              "typeString": "contract IJBPayDelegate"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 22046,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "49657:24:72"
                    },
                    {
                      "assignments": [
                        22048
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 22048,
                          "mutability": "mutable",
                          "name": "_tokenCount",
                          "nameLocation": "49697:11:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 22144,
                          "src": "49689:19:72",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 22047,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "49689:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 22049,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "49689:19:72"
                    },
                    {
                      "assignments": [
                        22052
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 22052,
                          "mutability": "mutable",
                          "name": "_bundledAmount",
                          "nameLocation": "49799:14:72",
                          "nodeType": "VariableDeclaration",
                          "scope": 22144,
                          "src": "49778:35:72",
                          "stateVariable": false,
                          "storageLocation": "memory",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                            "typeString": "struct JBTokenAmount"
                          },
                          "typeName": {
                            "id": 22051,
                            "nodeType": "UserDefinedTypeName",
                            "pathNode": {
                              "id": 22050,
                              "name": "JBTokenAmount",
                              "nodeType": "IdentifierPath",
                              "referencedDeclaration": 38507,
                              "src": "49778:13:72"
                            },
                            "referencedDeclaration": 38507,
                            "src": "49778:13:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBTokenAmount_$38507_storage_ptr",
                              "typeString": "struct JBTokenAmount"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 22059,
                      "initialValue": {
                        "arguments": [
                          {
                            "id": 22054,
                            "name": "token",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22475,
                            "src": "49830:5:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          {
                            "id": 22055,
                            "name": "_amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22010,
                            "src": "49837:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "id": 22056,
                            "name": "decimals",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22479,
                            "src": "49846:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "id": 22057,
                            "name": "currency",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22483,
                            "src": "49856:8:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 22053,
                          "name": "JBTokenAmount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 38507,
                          "src": "49816:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_struct$_JBTokenAmount_$38507_storage_ptr_$",
                            "typeString": "type(struct JBTokenAmount storage pointer)"
                          }
                        },
                        "id": 22058,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "structConstructorCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "49816:49:72",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                          "typeString": "struct JBTokenAmount memory"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "49778:87:72"
                    },
                    {
                      "expression": {
                        "id": 22075,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "components": [
                            {
                              "id": 22060,
                              "name": "_fundingCycle",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22041,
                              "src": "49904:13:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                "typeString": "struct JBFundingCycle memory"
                              }
                            },
                            {
                              "id": 22061,
                              "name": "_tokenCount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22048,
                              "src": "49919:11:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 22062,
                              "name": "_delegate",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22045,
                              "src": "49932:9:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                                "typeString": "contract IJBPayDelegate"
                              }
                            },
                            {
                              "id": 22063,
                              "name": "_memo",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22022,
                              "src": "49943:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_string_memory_ptr",
                                "typeString": "string memory"
                              }
                            }
                          ],
                          "id": 22064,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": true,
                          "nodeType": "TupleExpression",
                          "src": "49903:46:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_contract$_IJBPayDelegate_$38522_$_t_string_memory_ptr_$",
                            "typeString": "tuple(struct JBFundingCycle memory,uint256,contract IJBPayDelegate,string memory)"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "arguments": [
                            {
                              "id": 22067,
                              "name": "_payer",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22012,
                              "src": "49985:6:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 22068,
                              "name": "_bundledAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22052,
                              "src": "50001:14:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                "typeString": "struct JBTokenAmount memory"
                              }
                            },
                            {
                              "id": 22069,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22014,
                              "src": "50025:10:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 22070,
                              "name": "baseWeightCurrency",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20265,
                              "src": "50045:18:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 22071,
                              "name": "_beneficiary",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22016,
                              "src": "50073:12:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 22072,
                              "name": "_memo",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22022,
                              "src": "50095:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_string_memory_ptr",
                                "typeString": "string memory"
                              }
                            },
                            {
                              "id": 22073,
                              "name": "_metadata",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22024,
                              "src": "50110:9:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                "typeString": "struct JBTokenAmount memory"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_string_memory_ptr",
                                "typeString": "string memory"
                              },
                              {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            ],
                            "expression": {
                              "id": 22065,
                              "name": "store",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 20261,
                              "src": "49952:5:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                                "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                              }
                            },
                            "id": 22066,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "recordPaymentFrom",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 23292,
                            "src": "49952:23:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBTokenAmount_$38507_memory_ptr_$_t_uint256_$_t_uint256_$_t_address_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_contract$_IJBPayDelegate_$38522_$_t_string_memory_ptr_$",
                              "typeString": "function (address,struct JBTokenAmount memory,uint256,uint256,address,string memory,bytes memory) external returns (struct JBFundingCycle memory,uint256,contract IJBPayDelegate,string memory)"
                            }
                          },
                          "id": 22074,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "49952:175:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_contract$_IJBPayDelegate_$38522_$_t_string_memory_ptr_$",
                            "typeString": "tuple(struct JBFundingCycle memory,uint256,contract IJBPayDelegate,string memory)"
                          }
                        },
                        "src": "49903:224:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_tuple$__$",
                          "typeString": "tuple()"
                        }
                      },
                      "id": 22076,
                      "nodeType": "ExpressionStatement",
                      "src": "49903:224:72"
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 22079,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 22077,
                          "name": "_tokenCount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22048,
                          "src": "50176:11:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 22078,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "50190:1:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "50176:15:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 22097,
                      "nodeType": "IfStatement",
                      "src": "50172:366:72",
                      "trueBody": {
                        "expression": {
                          "id": 22095,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 22080,
                            "name": "beneficiaryTokenCount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22027,
                            "src": "50311:21:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "arguments": [
                              {
                                "id": 22088,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22014,
                                "src": "50409:10:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 22089,
                                "name": "_tokenCount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22048,
                                "src": "50431:11:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 22090,
                                "name": "_beneficiary",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22016,
                                "src": "50454:12:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              {
                                "hexValue": "",
                                "id": 22091,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "string",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "50478:2:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                  "typeString": "literal_string \"\""
                                },
                                "value": ""
                              },
                              {
                                "id": 22092,
                                "name": "_preferClaimedTokens",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22020,
                                "src": "50492:20:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              {
                                "hexValue": "74727565",
                                "id": 22093,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "bool",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "50524:4:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                },
                                "value": "true"
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                {
                                  "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
                                  "typeString": "literal_string \"\""
                                },
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                },
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              ],
                              "expression": {
                                "arguments": [
                                  {
                                    "arguments": [
                                      {
                                        "id": 22084,
                                        "name": "_projectId",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 22014,
                                        "src": "50372:10:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      ],
                                      "expression": {
                                        "id": 22082,
                                        "name": "directory",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 20246,
                                        "src": "50349:9:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                                          "typeString": "contract IJBDirectory"
                                        }
                                      },
                                      "id": 22083,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "controllerOf",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 31854,
                                      "src": "50349:22:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                                        "typeString": "function (uint256) view external returns (address)"
                                      }
                                    },
                                    "id": 22085,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "50349:34:72",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  ],
                                  "id": 22081,
                                  "name": "IJBController",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 38113,
                                  "src": "50335:13:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_IJBController_$38113_$",
                                    "typeString": "type(contract IJBController)"
                                  }
                                },
                                "id": 22086,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "50335:49:72",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBController_$38113",
                                  "typeString": "contract IJBController"
                                }
                              },
                              "id": 22087,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "mintTokensOf",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 38082,
                              "src": "50335:62:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_address_$_t_string_memory_ptr_$_t_bool_$_t_bool_$returns$_t_uint256_$",
                                "typeString": "function (uint256,uint256,address,string memory,bool,bool) external returns (uint256)"
                              }
                            },
                            "id": 22094,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "50335:203:72",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "50311:227:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 22096,
                        "nodeType": "ExpressionStatement",
                        "src": "50311:227:72"
                      }
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 22100,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 22098,
                          "name": "beneficiaryTokenCount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22027,
                          "src": "50651:21:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "<",
                        "rightExpression": {
                          "id": 22099,
                          "name": "_minReturnedTokens",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22018,
                          "src": "50675:18:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "50651:42:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 22104,
                      "nodeType": "IfStatement",
                      "src": "50647:79:72",
                      "trueBody": {
                        "errorCall": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "id": 22101,
                            "name": "INADEQUATE_TOKEN_COUNT",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 20192,
                            "src": "50702:22:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_error_pure$__$returns$__$",
                              "typeString": "function () pure"
                            }
                          },
                          "id": 22102,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "50702:24:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 22103,
                        "nodeType": "RevertStatement",
                        "src": "50695:31:72"
                      }
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                          "typeString": "contract IJBPayDelegate"
                        },
                        "id": 22112,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 22105,
                          "name": "_delegate",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22045,
                          "src": "50819:9:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                            "typeString": "contract IJBPayDelegate"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "hexValue": "30",
                                  "id": 22109,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "50855:1:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  }
                                ],
                                "id": 22108,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "50847:7:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 22107,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "50847:7:72",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 22110,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "50847:10:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 22106,
                            "name": "IJBPayDelegate",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 38522,
                            "src": "50832:14:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBPayDelegate_$38522_$",
                              "typeString": "type(contract IJBPayDelegate)"
                            }
                          },
                          "id": 22111,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "50832:26:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                            "typeString": "contract IJBPayDelegate"
                          }
                        },
                        "src": "50819:39:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 22143,
                      "nodeType": "IfStatement",
                      "src": "50815:439:72",
                      "trueBody": {
                        "id": 22142,
                        "nodeType": "Block",
                        "src": "50860:394:72",
                        "statements": [
                          {
                            "assignments": [
                              22115
                            ],
                            "declarations": [
                              {
                                "constant": false,
                                "id": 22115,
                                "mutability": "mutable",
                                "name": "_data",
                                "nameLocation": "50890:5:72",
                                "nodeType": "VariableDeclaration",
                                "scope": 22142,
                                "src": "50870:25:72",
                                "stateVariable": false,
                                "storageLocation": "memory",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBDidPayData_$35788_memory_ptr",
                                  "typeString": "struct JBDidPayData"
                                },
                                "typeName": {
                                  "id": 22114,
                                  "nodeType": "UserDefinedTypeName",
                                  "pathNode": {
                                    "id": 22113,
                                    "name": "JBDidPayData",
                                    "nodeType": "IdentifierPath",
                                    "referencedDeclaration": 35788,
                                    "src": "50870:12:72"
                                  },
                                  "referencedDeclaration": 35788,
                                  "src": "50870:12:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBDidPayData_$35788_storage_ptr",
                                    "typeString": "struct JBDidPayData"
                                  }
                                },
                                "visibility": "internal"
                              }
                            ],
                            "id": 22128,
                            "initialValue": {
                              "arguments": [
                                {
                                  "id": 22117,
                                  "name": "_payer",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22012,
                                  "src": "50922:6:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "id": 22118,
                                  "name": "_projectId",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22014,
                                  "src": "50940:10:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "expression": {
                                    "id": 22119,
                                    "name": "_fundingCycle",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 22041,
                                    "src": "50962:13:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                      "typeString": "struct JBFundingCycle memory"
                                    }
                                  },
                                  "id": 22120,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "configuration",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 35833,
                                  "src": "50962:27:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 22121,
                                  "name": "_bundledAmount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22052,
                                  "src": "51001:14:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                    "typeString": "struct JBTokenAmount memory"
                                  }
                                },
                                {
                                  "id": 22122,
                                  "name": "beneficiaryTokenCount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22027,
                                  "src": "51027:21:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 22123,
                                  "name": "_beneficiary",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22016,
                                  "src": "51060:12:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "id": 22124,
                                  "name": "_preferClaimedTokens",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22020,
                                  "src": "51084:20:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                {
                                  "id": 22125,
                                  "name": "_memo",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22022,
                                  "src": "51116:5:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_string_memory_ptr",
                                    "typeString": "string memory"
                                  }
                                },
                                {
                                  "id": 22126,
                                  "name": "_metadata",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22024,
                                  "src": "51133:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes_memory_ptr",
                                    "typeString": "bytes memory"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                    "typeString": "struct JBTokenAmount memory"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  },
                                  {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  },
                                  {
                                    "typeIdentifier": "t_string_memory_ptr",
                                    "typeString": "string memory"
                                  },
                                  {
                                    "typeIdentifier": "t_bytes_memory_ptr",
                                    "typeString": "bytes memory"
                                  }
                                ],
                                "id": 22116,
                                "name": "JBDidPayData",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 35788,
                                "src": "50898:12:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_struct$_JBDidPayData_$35788_storage_ptr_$",
                                  "typeString": "type(struct JBDidPayData storage pointer)"
                                }
                              },
                              "id": 22127,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "structConstructorCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "50898:254:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBDidPayData_$35788_memory_ptr",
                                "typeString": "struct JBDidPayData memory"
                              }
                            },
                            "nodeType": "VariableDeclarationStatement",
                            "src": "50870:282:72"
                          },
                          {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 22132,
                                  "name": "_data",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22115,
                                  "src": "51180:5:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBDidPayData_$35788_memory_ptr",
                                    "typeString": "struct JBDidPayData memory"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_struct$_JBDidPayData_$35788_memory_ptr",
                                    "typeString": "struct JBDidPayData memory"
                                  }
                                ],
                                "expression": {
                                  "id": 22129,
                                  "name": "_delegate",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22045,
                                  "src": "51163:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                                    "typeString": "contract IJBPayDelegate"
                                  }
                                },
                                "id": 22131,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "didPay",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 38521,
                                "src": "51163:16:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_nonpayable$_t_struct$_JBDidPayData_$35788_memory_ptr_$returns$__$",
                                  "typeString": "function (struct JBDidPayData memory) external"
                                }
                              },
                              "id": 22133,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "51163:23:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 22134,
                            "nodeType": "ExpressionStatement",
                            "src": "51163:23:72"
                          },
                          {
                            "eventCall": {
                              "arguments": [
                                {
                                  "id": 22136,
                                  "name": "_delegate",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22045,
                                  "src": "51216:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                                    "typeString": "contract IJBPayDelegate"
                                  }
                                },
                                {
                                  "id": 22137,
                                  "name": "_data",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22115,
                                  "src": "51227:5:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBDidPayData_$35788_memory_ptr",
                                    "typeString": "struct JBDidPayData memory"
                                  }
                                },
                                {
                                  "expression": {
                                    "id": 22138,
                                    "name": "msg",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": -15,
                                    "src": "51234:3:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_magic_message",
                                      "typeString": "msg"
                                    }
                                  },
                                  "id": 22139,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "sender",
                                  "nodeType": "MemberAccess",
                                  "src": "51234:10:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                                    "typeString": "contract IJBPayDelegate"
                                  },
                                  {
                                    "typeIdentifier": "t_struct$_JBDidPayData_$35788_memory_ptr",
                                    "typeString": "struct JBDidPayData memory"
                                  },
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 22135,
                                "name": "DelegateDidPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22866,
                                "src": "51201:14:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_event_nonpayable$_t_contract$_IJBPayDelegate_$38522_$_t_struct$_JBDidPayData_$35788_memory_ptr_$_t_address_$returns$__$",
                                  "typeString": "function (contract IJBPayDelegate,struct JBDidPayData memory,address)"
                                }
                              },
                              "id": 22140,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "51201:44:72",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 22141,
                            "nodeType": "EmitStatement",
                            "src": "51196:49:72"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 22146,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22041,
                          "src": "51282:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 22147,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "51282:27:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 22148,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22041,
                          "src": "51317:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 22149,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "number",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35831,
                        "src": "51317:20:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22150,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22014,
                        "src": "51345:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22151,
                        "name": "_payer",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22012,
                        "src": "51363:6:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 22152,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22016,
                        "src": "51377:12:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 22153,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22010,
                        "src": "51397:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22154,
                        "name": "beneficiaryTokenCount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22027,
                        "src": "51412:21:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22155,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22022,
                        "src": "51441:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      },
                      {
                        "id": 22156,
                        "name": "_metadata",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22024,
                        "src": "51454:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      },
                      {
                        "expression": {
                          "id": 22157,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "51471:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 22158,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "51471:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        },
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 22145,
                      "name": "Pay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22856,
                      "src": "51271:3:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_address_$returns$__$",
                        "typeString": "function (uint256,uint256,uint256,address,address,uint256,uint256,string memory,bytes memory,address)"
                      }
                    },
                    "id": 22159,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "51271:216:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22160,
                  "nodeType": "EmitStatement",
                  "src": "51266:221:72"
                }
              ]
            },
            "documentation": {
              "id": 22008,
              "nodeType": "StructuredDocumentation",
              "src": "47558:1390:72",
              "text": "@notice\nContribute tokens to a project.\n@param _amount The amount of terminal tokens being received, as a fixed point number with the same amount of decimals as this terminal. If this terminal's token is ETH, this is ignored and msg.value is used in its place.\n@param _payer The address making the payment.\n@param _projectId The ID of the project being paid.\n@param _beneficiary The address to mint tokens for and pass along to the funding cycle's data source and delegate.\n@param _minReturnedTokens The minimum number of project tokens expected in return, as a fixed point number with the same amount of decimals as this terminal.\n@param _preferClaimedTokens A flag indicating whether the request prefers to mint project tokens into the beneficiaries wallet rather than leaving them unclaimed. This is only possible if the project has an attached token contract. Leaving them unclaimed saves gas.\n@param _memo A memo to pass along to the emitted event, and passed along the the funding cycle's data source and delegate.  A data source can alter the memo before emitting in the event and forwarding to the delegate.\n@param _metadata Bytes to send along to the data source, delegate, and emitted event, if provided.\n@return beneficiaryTokenCount The number of tokens minted for the beneficiary, as a fixed point number with 18 decimals."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_pay",
            "nameLocation": "48960:4:72",
            "parameters": {
              "id": 22025,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22010,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "48978:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "48970:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22009,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "48970:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22012,
                  "mutability": "mutable",
                  "name": "_payer",
                  "nameLocation": "48999:6:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "48991:14:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22011,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "48991:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22014,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "49019:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "49011:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22013,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "49011:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22016,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "49043:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "49035:20:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22015,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "49035:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22018,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "49069:18:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "49061:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22017,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "49061:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22020,
                  "mutability": "mutable",
                  "name": "_preferClaimedTokens",
                  "nameLocation": "49098:20:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "49093:25:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 22019,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "49093:4:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22022,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "49138:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "49124:19:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 22021,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "49124:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22024,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "49162:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "49149:22:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 22023,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "49149:5:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "48964:211:72"
            },
            "returnParameters": {
              "id": 22028,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22027,
                  "mutability": "mutable",
                  "name": "beneficiaryTokenCount",
                  "nameLocation": "49202:21:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22162,
                  "src": "49194:29:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22026,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "49194:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "49193:31:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 22206,
            "nodeType": "FunctionDefinition",
            "src": "52097:598:72",
            "nodes": [],
            "body": {
              "id": 22205,
              "nodeType": "Block",
              "src": "52265:430:72",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    22177
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 22177,
                      "mutability": "mutable",
                      "name": "_refundedFees",
                      "nameLocation": "52395:13:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 22205,
                      "src": "52387:21:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 22176,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "52387:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 22185,
                  "initialValue": {
                    "condition": {
                      "id": 22178,
                      "name": "_shouldRefundHeldFees",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22169,
                      "src": "52411:21:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "hexValue": "30",
                      "id": 22183,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "52474:1:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "id": 22184,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "52411:64:72",
                    "trueExpression": {
                      "arguments": [
                        {
                          "id": 22180,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22165,
                          "src": "52451:10:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 22181,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22167,
                          "src": "52463:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 22179,
                        "name": "_refundHeldFees",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22356,
                        "src": "52435:15:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256) returns (uint256)"
                        }
                      },
                      "id": 22182,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "52435:36:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "52387:88:72"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 22189,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22165,
                        "src": "52564:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 22192,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 22190,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22167,
                          "src": "52576:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "+",
                        "rightExpression": {
                          "id": 22191,
                          "name": "_refundedFees",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22177,
                          "src": "52586:13:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "52576:23:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 22186,
                        "name": "store",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20261,
                        "src": "52536:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminalStore_$23358",
                          "typeString": "contract IJBSingleTokenPaymentTerminalStore"
                        }
                      },
                      "id": 22188,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "recordAddedBalanceFor",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23350,
                      "src": "52536:27:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
                        "typeString": "function (uint256,uint256) external"
                      }
                    },
                    "id": 22193,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "52536:64:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22194,
                  "nodeType": "ExpressionStatement",
                  "src": "52536:64:72"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 22196,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22165,
                        "src": "52625:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22197,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22167,
                        "src": "52637:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22198,
                        "name": "_refundedFees",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22177,
                        "src": "52646:13:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22199,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22171,
                        "src": "52661:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      },
                      {
                        "id": 22200,
                        "name": "_metadata",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22173,
                        "src": "52668:9:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      },
                      {
                        "expression": {
                          "id": 22201,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "52679:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 22202,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "52679:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        },
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 22195,
                      "name": "AddToBalance",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22743,
                      "src": "52612:12:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$_t_address_$returns$__$",
                        "typeString": "function (uint256,uint256,uint256,string memory,bytes memory,address)"
                      }
                    },
                    "id": 22203,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "52612:78:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22204,
                  "nodeType": "EmitStatement",
                  "src": "52607:83:72"
                }
              ]
            },
            "documentation": {
              "id": 22163,
              "nodeType": "StructuredDocumentation",
              "src": "51496:598:72",
              "text": "@notice\nReceives funds belonging to the specified project.\n@param _projectId The ID of the project to which the funds received belong.\n@param _amount The amount of tokens to add, as a fixed point number with the same number of decimals as this terminal. If this is an ETH terminal, this is ignored and msg.value is used instead.\n@param _shouldRefundHeldFees A flag indicating if held fees should be refunded based on the amount being added.\n@param _memo A memo to pass along to the emitted event.\n@param _metadata Extra data to pass along to the emitted event."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_addToBalanceOf",
            "nameLocation": "52106:15:72",
            "parameters": {
              "id": 22174,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22165,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "52135:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22206,
                  "src": "52127:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22164,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "52127:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22167,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "52159:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22206,
                  "src": "52151:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22166,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "52151:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22169,
                  "mutability": "mutable",
                  "name": "_shouldRefundHeldFees",
                  "nameLocation": "52177:21:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22206,
                  "src": "52172:26:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 22168,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "52172:4:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22171,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "52218:5:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22206,
                  "src": "52204:19:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 22170,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "52204:6:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22173,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "52242:9:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22206,
                  "src": "52229:22:72",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 22172,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "52229:5:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "52121:134:72"
            },
            "returnParameters": {
              "id": 22175,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "52265:0:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 22356,
            "nodeType": "FunctionDefinition",
            "src": "53096:1507:72",
            "nodes": [],
            "body": {
              "id": 22355,
              "nodeType": "Block",
              "src": "53208:1395:72",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    22220
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 22220,
                      "mutability": "mutable",
                      "name": "_heldFees",
                      "nameLocation": "53280:9:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 22355,
                      "src": "53265:24:72",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                        "typeString": "struct JBFee[]"
                      },
                      "typeName": {
                        "baseType": {
                          "id": 22218,
                          "nodeType": "UserDefinedTypeName",
                          "pathNode": {
                            "id": 22217,
                            "name": "JBFee",
                            "nodeType": "IdentifierPath",
                            "referencedDeclaration": 24157,
                            "src": "53265:5:72"
                          },
                          "referencedDeclaration": 24157,
                          "src": "53265:5:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFee_$24157_storage_ptr",
                            "typeString": "struct JBFee"
                          }
                        },
                        "id": 22219,
                        "nodeType": "ArrayTypeName",
                        "src": "53265:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr",
                          "typeString": "struct JBFee[]"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 22224,
                  "initialValue": {
                    "baseExpression": {
                      "id": 22221,
                      "name": "_heldFeesOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20236,
                      "src": "53292:11:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                        "typeString": "mapping(uint256 => struct JBFee storage ref[] storage ref)"
                      }
                    },
                    "id": 22223,
                    "indexExpression": {
                      "id": 22222,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22209,
                      "src": "53304:10:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "53292:23:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage",
                      "typeString": "struct JBFee storage ref[] storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "53265:50:72"
                },
                {
                  "expression": {
                    "id": 22228,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "53359:30:72",
                    "subExpression": {
                      "baseExpression": {
                        "id": 22225,
                        "name": "_heldFeesOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 20236,
                        "src": "53366:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                          "typeString": "mapping(uint256 => struct JBFee storage ref[] storage ref)"
                        }
                      },
                      "id": 22227,
                      "indexExpression": {
                        "id": 22226,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22209,
                        "src": "53378:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "53366:23:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage",
                        "typeString": "struct JBFee storage ref[] storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22229,
                  "nodeType": "ExpressionStatement",
                  "src": "53359:30:72"
                },
                {
                  "assignments": [
                    22231
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 22231,
                      "mutability": "mutable",
                      "name": "leftoverAmount",
                      "nameLocation": "53483:14:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 22355,
                      "src": "53475:22:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 22230,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "53475:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 22233,
                  "initialValue": {
                    "id": 22232,
                    "name": "_amount",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 22211,
                    "src": "53500:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "53475:32:72"
                },
                {
                  "assignments": [
                    22235
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 22235,
                      "mutability": "mutable",
                      "name": "_heldFeesLength",
                      "nameLocation": "53550:15:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 22355,
                      "src": "53542:23:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 22234,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "53542:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 22238,
                  "initialValue": {
                    "expression": {
                      "id": 22236,
                      "name": "_heldFees",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22220,
                      "src": "53568:9:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                        "typeString": "struct JBFee memory[] memory"
                      }
                    },
                    "id": 22237,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "53568:16:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "53542:42:72"
                },
                {
                  "body": {
                    "id": 22344,
                    "nodeType": "Block",
                    "src": "53661:849:72",
                    "statements": [
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 22248,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 22246,
                            "name": "leftoverAmount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22231,
                            "src": "53673:14:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "hexValue": "30",
                            "id": 22247,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "53691:1:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "53673:19:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "condition": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 22263,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 22258,
                              "name": "leftoverAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22231,
                              "src": "53754:14:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": ">=",
                            "rightExpression": {
                              "expression": {
                                "baseExpression": {
                                  "id": 22259,
                                  "name": "_heldFees",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22220,
                                  "src": "53772:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct JBFee memory[] memory"
                                  }
                                },
                                "id": 22261,
                                "indexExpression": {
                                  "id": 22260,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22240,
                                  "src": "53782:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "53772:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                  "typeString": "struct JBFee memory"
                                }
                              },
                              "id": 22262,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "amount",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 24150,
                              "src": "53772:20:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "53754:38:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "falseBody": {
                            "id": 22337,
                            "nodeType": "Block",
                            "src": "54059:404:72",
                            "statements": [
                              {
                                "expression": {
                                  "arguments": [
                                    {
                                      "arguments": [
                                        {
                                          "commonType": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          },
                                          "id": 22302,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "leftExpression": {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 22297,
                                                "name": "_heldFees",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22220,
                                                "src": "54128:9:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct JBFee memory[] memory"
                                                }
                                              },
                                              "id": 22299,
                                              "indexExpression": {
                                                "id": 22298,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22240,
                                                "src": "54138:2:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "54128:13:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                                "typeString": "struct JBFee memory"
                                              }
                                            },
                                            "id": 22300,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "amount",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 24150,
                                            "src": "54128:20:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          },
                                          "nodeType": "BinaryOperation",
                                          "operator": "-",
                                          "rightExpression": {
                                            "id": 22301,
                                            "name": "leftoverAmount",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 22231,
                                            "src": "54151:14:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          },
                                          "src": "54128:37:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        {
                                          "expression": {
                                            "baseExpression": {
                                              "id": 22303,
                                              "name": "_heldFees",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 22220,
                                              "src": "54179:9:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                "typeString": "struct JBFee memory[] memory"
                                              }
                                            },
                                            "id": 22305,
                                            "indexExpression": {
                                              "id": 22304,
                                              "name": "_i",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 22240,
                                              "src": "54189:2:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "54179:13:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                              "typeString": "struct JBFee memory"
                                            }
                                          },
                                          "id": 22306,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "fee",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 24152,
                                          "src": "54179:17:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint32",
                                            "typeString": "uint32"
                                          }
                                        },
                                        {
                                          "expression": {
                                            "baseExpression": {
                                              "id": 22307,
                                              "name": "_heldFees",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 22220,
                                              "src": "54210:9:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                "typeString": "struct JBFee memory[] memory"
                                              }
                                            },
                                            "id": 22309,
                                            "indexExpression": {
                                              "id": 22308,
                                              "name": "_i",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 22240,
                                              "src": "54220:2:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "54210:13:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                              "typeString": "struct JBFee memory"
                                            }
                                          },
                                          "id": 22310,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "feeDiscount",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 24154,
                                          "src": "54210:25:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint32",
                                            "typeString": "uint32"
                                          }
                                        },
                                        {
                                          "expression": {
                                            "baseExpression": {
                                              "id": 22311,
                                              "name": "_heldFees",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 22220,
                                              "src": "54249:9:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                "typeString": "struct JBFee memory[] memory"
                                              }
                                            },
                                            "id": 22313,
                                            "indexExpression": {
                                              "id": 22312,
                                              "name": "_i",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 22240,
                                              "src": "54259:2:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "54249:13:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                              "typeString": "struct JBFee memory"
                                            }
                                          },
                                          "id": 22314,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "beneficiary",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 24156,
                                          "src": "54249:25:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          },
                                          {
                                            "typeIdentifier": "t_uint32",
                                            "typeString": "uint32"
                                          },
                                          {
                                            "typeIdentifier": "t_uint32",
                                            "typeString": "uint32"
                                          },
                                          {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        ],
                                        "id": 22296,
                                        "name": "JBFee",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 24157,
                                        "src": "54109:5:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_type$_t_struct$_JBFee_$24157_storage_ptr_$",
                                          "typeString": "type(struct JBFee storage pointer)"
                                        }
                                      },
                                      "id": 22315,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "structConstructorCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "54109:177:72",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                        "typeString": "struct JBFee memory"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                        "typeString": "struct JBFee memory"
                                      }
                                    ],
                                    "expression": {
                                      "baseExpression": {
                                        "id": 22292,
                                        "name": "_heldFeesOf",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 20236,
                                        "src": "54069:11:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                                          "typeString": "mapping(uint256 => struct JBFee storage ref[] storage ref)"
                                        }
                                      },
                                      "id": 22294,
                                      "indexExpression": {
                                        "id": 22293,
                                        "name": "_projectId",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 22209,
                                        "src": "54081:10:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "54069:23:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage",
                                        "typeString": "struct JBFee storage ref[] storage ref"
                                      }
                                    },
                                    "id": 22295,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "push",
                                    "nodeType": "MemberAccess",
                                    "src": "54069:28:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr_$_t_struct$_JBFee_$24157_storage_$returns$__$bound_to$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr_$",
                                      "typeString": "function (struct JBFee storage ref[] storage pointer,struct JBFee storage ref)"
                                    }
                                  },
                                  "id": 22316,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "54069:227:72",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_tuple$__$",
                                    "typeString": "tuple()"
                                  }
                                },
                                "id": 22317,
                                "nodeType": "ExpressionStatement",
                                "src": "54069:227:72"
                              },
                              {
                                "id": 22332,
                                "nodeType": "UncheckedBlock",
                                "src": "54306:121:72",
                                "statements": [
                                  {
                                    "expression": {
                                      "id": 22330,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftHandSide": {
                                        "id": 22318,
                                        "name": "refundedFees",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 22214,
                                        "src": "54328:12:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "Assignment",
                                      "operator": "+=",
                                      "rightHandSide": {
                                        "arguments": [
                                          {
                                            "id": 22320,
                                            "name": "leftoverAmount",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 22231,
                                            "src": "54355:14:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          },
                                          {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 22321,
                                                "name": "_heldFees",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22220,
                                                "src": "54371:9:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct JBFee memory[] memory"
                                                }
                                              },
                                              "id": 22323,
                                              "indexExpression": {
                                                "id": 22322,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22240,
                                                "src": "54381:2:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "54371:13:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                                "typeString": "struct JBFee memory"
                                              }
                                            },
                                            "id": 22324,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "fee",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 24152,
                                            "src": "54371:17:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint32",
                                              "typeString": "uint32"
                                            }
                                          },
                                          {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 22325,
                                                "name": "_heldFees",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22220,
                                                "src": "54390:9:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct JBFee memory[] memory"
                                                }
                                              },
                                              "id": 22327,
                                              "indexExpression": {
                                                "id": 22326,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22240,
                                                "src": "54400:2:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "54390:13:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                                "typeString": "struct JBFee memory"
                                              }
                                            },
                                            "id": 22328,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "feeDiscount",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 24154,
                                            "src": "54390:25:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint32",
                                              "typeString": "uint32"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            },
                                            {
                                              "typeIdentifier": "t_uint32",
                                              "typeString": "uint32"
                                            },
                                            {
                                              "typeIdentifier": "t_uint32",
                                              "typeString": "uint32"
                                            }
                                          ],
                                          "id": 22319,
                                          "name": "_feeAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 22394,
                                          "src": "54344:10:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                            "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                                          }
                                        },
                                        "id": 22329,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "functionCall",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "54344:72:72",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "54328:88:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 22331,
                                    "nodeType": "ExpressionStatement",
                                    "src": "54328:88:72"
                                  }
                                ]
                              },
                              {
                                "expression": {
                                  "id": 22335,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftHandSide": {
                                    "id": 22333,
                                    "name": "leftoverAmount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 22231,
                                    "src": "54436:14:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "Assignment",
                                  "operator": "=",
                                  "rightHandSide": {
                                    "hexValue": "30",
                                    "id": 22334,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "54453:1:72",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_0_by_1",
                                      "typeString": "int_const 0"
                                    },
                                    "value": "0"
                                  },
                                  "src": "54436:18:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "id": 22336,
                                "nodeType": "ExpressionStatement",
                                "src": "54436:18:72"
                              }
                            ]
                          },
                          "id": 22338,
                          "nodeType": "IfStatement",
                          "src": "53750:713:72",
                          "trueBody": {
                            "id": 22291,
                            "nodeType": "Block",
                            "src": "53794:259:72",
                            "statements": [
                              {
                                "id": 22290,
                                "nodeType": "UncheckedBlock",
                                "src": "53804:241:72",
                                "statements": [
                                  {
                                    "expression": {
                                      "id": 22271,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftHandSide": {
                                        "id": 22264,
                                        "name": "leftoverAmount",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 22231,
                                        "src": "53826:14:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "Assignment",
                                      "operator": "=",
                                      "rightHandSide": {
                                        "commonType": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        },
                                        "id": 22270,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "id": 22265,
                                          "name": "leftoverAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 22231,
                                          "src": "53843:14:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "-",
                                        "rightExpression": {
                                          "expression": {
                                            "baseExpression": {
                                              "id": 22266,
                                              "name": "_heldFees",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 22220,
                                              "src": "53860:9:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                "typeString": "struct JBFee memory[] memory"
                                              }
                                            },
                                            "id": 22268,
                                            "indexExpression": {
                                              "id": 22267,
                                              "name": "_i",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 22240,
                                              "src": "53870:2:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "53860:13:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                              "typeString": "struct JBFee memory"
                                            }
                                          },
                                          "id": 22269,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "amount",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 24150,
                                          "src": "53860:20:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "src": "53843:37:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "53826:54:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 22272,
                                    "nodeType": "ExpressionStatement",
                                    "src": "53826:54:72"
                                  },
                                  {
                                    "expression": {
                                      "id": 22288,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftHandSide": {
                                        "id": 22273,
                                        "name": "refundedFees",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 22214,
                                        "src": "53892:12:72",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "Assignment",
                                      "operator": "+=",
                                      "rightHandSide": {
                                        "arguments": [
                                          {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 22275,
                                                "name": "_heldFees",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22220,
                                                "src": "53932:9:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct JBFee memory[] memory"
                                                }
                                              },
                                              "id": 22277,
                                              "indexExpression": {
                                                "id": 22276,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22240,
                                                "src": "53942:2:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "53932:13:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                                "typeString": "struct JBFee memory"
                                              }
                                            },
                                            "id": 22278,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "amount",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 24150,
                                            "src": "53932:20:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          },
                                          {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 22279,
                                                "name": "_heldFees",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22220,
                                                "src": "53966:9:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct JBFee memory[] memory"
                                                }
                                              },
                                              "id": 22281,
                                              "indexExpression": {
                                                "id": 22280,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22240,
                                                "src": "53976:2:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "53966:13:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                                "typeString": "struct JBFee memory"
                                              }
                                            },
                                            "id": 22282,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "fee",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 24152,
                                            "src": "53966:17:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint32",
                                              "typeString": "uint32"
                                            }
                                          },
                                          {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 22283,
                                                "name": "_heldFees",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22220,
                                                "src": "53997:9:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct JBFee memory[] memory"
                                                }
                                              },
                                              "id": 22285,
                                              "indexExpression": {
                                                "id": 22284,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 22240,
                                                "src": "54007:2:72",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "53997:13:72",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                                "typeString": "struct JBFee memory"
                                              }
                                            },
                                            "id": 22286,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "feeDiscount",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 24154,
                                            "src": "53997:25:72",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint32",
                                              "typeString": "uint32"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            },
                                            {
                                              "typeIdentifier": "t_uint32",
                                              "typeString": "uint32"
                                            },
                                            {
                                              "typeIdentifier": "t_uint32",
                                              "typeString": "uint32"
                                            }
                                          ],
                                          "id": 22274,
                                          "name": "_feeAmount",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 22394,
                                          "src": "53908:10:72",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                            "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                                          }
                                        },
                                        "id": 22287,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "functionCall",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "53908:126:72",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "53892:142:72",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 22289,
                                    "nodeType": "ExpressionStatement",
                                    "src": "53892:142:72"
                                  }
                                ]
                              }
                            ]
                          }
                        },
                        "id": 22339,
                        "nodeType": "IfStatement",
                        "src": "53669:794:72",
                        "trueBody": {
                          "expression": {
                            "arguments": [
                              {
                                "baseExpression": {
                                  "id": 22253,
                                  "name": "_heldFees",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22220,
                                  "src": "53723:9:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct JBFee memory[] memory"
                                  }
                                },
                                "id": 22255,
                                "indexExpression": {
                                  "id": 22254,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22240,
                                  "src": "53733:2:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "53723:13:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                  "typeString": "struct JBFee memory"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_struct$_JBFee_$24157_memory_ptr",
                                  "typeString": "struct JBFee memory"
                                }
                              ],
                              "expression": {
                                "baseExpression": {
                                  "id": 22249,
                                  "name": "_heldFeesOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 20236,
                                  "src": "53694:11:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_$",
                                    "typeString": "mapping(uint256 => struct JBFee storage ref[] storage ref)"
                                  }
                                },
                                "id": 22251,
                                "indexExpression": {
                                  "id": 22250,
                                  "name": "_projectId",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22209,
                                  "src": "53706:10:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "53694:23:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage",
                                  "typeString": "struct JBFee storage ref[] storage ref"
                                }
                              },
                              "id": 22252,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "push",
                              "nodeType": "MemberAccess",
                              "src": "53694:28:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr_$_t_struct$_JBFee_$24157_storage_$returns$__$bound_to$_t_array$_t_struct$_JBFee_$24157_storage_$dyn_storage_ptr_$",
                                "typeString": "function (struct JBFee storage ref[] storage pointer,struct JBFee storage ref)"
                              }
                            },
                            "id": 22256,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "53694:43:72",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$__$",
                              "typeString": "tuple()"
                            }
                          },
                          "id": 22257,
                          "nodeType": "ExpressionStatement",
                          "src": "53694:43:72"
                        }
                      },
                      {
                        "id": 22343,
                        "nodeType": "UncheckedBlock",
                        "src": "54471:33:72",
                        "statements": [
                          {
                            "expression": {
                              "id": 22341,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "UnaryOperation",
                              "operator": "++",
                              "prefix": true,
                              "src": "54491:4:72",
                              "subExpression": {
                                "id": 22340,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22240,
                                "src": "54493:2:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 22342,
                            "nodeType": "ExpressionStatement",
                            "src": "54491:4:72"
                          }
                        ]
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 22245,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 22243,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22240,
                      "src": "53637:2:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 22244,
                      "name": "_heldFeesLength",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22235,
                      "src": "53642:15:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "53637:20:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 22345,
                  "initializationExpression": {
                    "assignments": [
                      22240
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 22240,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "53629:2:72",
                        "nodeType": "VariableDeclaration",
                        "scope": 22345,
                        "src": "53621:10:72",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 22239,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "53621:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 22242,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 22241,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "53634:1:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "53621:14:72"
                  },
                  "nodeType": "ForStatement",
                  "src": "53616:894:72"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 22347,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22209,
                        "src": "54536:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22348,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22211,
                        "src": "54548:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22349,
                        "name": "refundedFees",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22214,
                        "src": "54557:12:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 22350,
                        "name": "leftoverAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22231,
                        "src": "54571:14:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 22351,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "54587:3:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 22352,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "54587:10:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 22346,
                      "name": "RefundHeldFees",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22834,
                      "src": "54521:14:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$returns$__$",
                        "typeString": "function (uint256,uint256,uint256,uint256,address)"
                      }
                    },
                    "id": 22353,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "54521:77:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22354,
                  "nodeType": "EmitStatement",
                  "src": "54516:82:72"
                }
              ]
            },
            "documentation": {
              "id": 22207,
              "nodeType": "StructuredDocumentation",
              "src": "52699:394:72",
              "text": "@notice\nRefund fees based on the specified amount.\n@param _projectId The project for which fees are being refunded.\n@param _amount The amount to base the refund on, as a fixed point number with the same amount of decimals as this terminal.\n@return refundedFees How much fees were refunded, as a fixed point number with the same number of decimals as this terminal"
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_refundHeldFees",
            "nameLocation": "53105:15:72",
            "parameters": {
              "id": 22212,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22209,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "53129:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22356,
                  "src": "53121:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22208,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "53121:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22211,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "53149:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22356,
                  "src": "53141:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22210,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "53141:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "53120:37:72"
            },
            "returnParameters": {
              "id": 22215,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22214,
                  "mutability": "mutable",
                  "name": "refundedFees",
                  "nameLocation": "53192:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22356,
                  "src": "53184:20:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22213,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "53184:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "53183:22:72"
            },
            "scope": 22462,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 22394,
            "nodeType": "FunctionDefinition",
            "src": "55137:447:72",
            "nodes": [],
            "body": {
              "id": 22393,
              "nodeType": "Block",
              "src": "55258:326:72",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    22369
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 22369,
                      "mutability": "mutable",
                      "name": "_discountedFee",
                      "nameLocation": "55309:14:72",
                      "nodeType": "VariableDeclaration",
                      "scope": 22393,
                      "src": "55301:22:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 22368,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "55301:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 22379,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 22378,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 22370,
                      "name": "_fee",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22361,
                      "src": "55326:4:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 22373,
                          "name": "_fee",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22361,
                          "src": "55354:4:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 22374,
                          "name": "_feeDiscount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22363,
                          "src": "55360:12:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "expression": {
                            "id": 22375,
                            "name": "JBConstants",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 35765,
                            "src": "55374:11:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                              "typeString": "type(library JBConstants)"
                            }
                          },
                          "id": 22376,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "MAX_FEE_DISCOUNT",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 35764,
                          "src": "55374:28:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 22371,
                          "name": "PRBMath",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26107,
                          "src": "55339:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                            "typeString": "type(library PRBMath)"
                          }
                        },
                        "id": 22372,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mulDiv",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 25696,
                        "src": "55339:14:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 22377,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "55339:64:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "55326:77:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "55301:102:72"
                },
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 22391,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 22380,
                      "name": "_amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22359,
                      "src": "55487:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 22383,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22359,
                          "src": "55512:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "expression": {
                            "id": 22384,
                            "name": "JBConstants",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 35765,
                            "src": "55521:11:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                              "typeString": "type(library JBConstants)"
                            }
                          },
                          "id": 22385,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "MAX_FEE",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 35761,
                          "src": "55521:19:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 22389,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 22386,
                            "name": "_discountedFee",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22369,
                            "src": "55542:14:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "+",
                          "rightExpression": {
                            "expression": {
                              "id": 22387,
                              "name": "JBConstants",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 35765,
                              "src": "55559:11:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                                "typeString": "type(library JBConstants)"
                              }
                            },
                            "id": 22388,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "MAX_FEE",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 35761,
                            "src": "55559:19:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "55542:36:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 22381,
                          "name": "PRBMath",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26107,
                          "src": "55497:7:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                            "typeString": "type(library PRBMath)"
                          }
                        },
                        "id": 22382,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mulDiv",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 25696,
                        "src": "55497:14:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 22390,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "55497:82:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "55487:92:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 22367,
                  "id": 22392,
                  "nodeType": "Return",
                  "src": "55474:105:72"
                }
              ]
            },
            "documentation": {
              "id": 22357,
              "nodeType": "StructuredDocumentation",
              "src": "54607:527:72",
              "text": "@notice \nReturns the fee amount based on the provided amount for the specified project.\n@param _amount The amount that the fee is based on, as a fixed point number with the same amount of decimals as this terminal.\n@param _fee The percentage of the fee, out of MAX_FEE. \n@param _feeDiscount The percentage discount that should be applied out of the max amount, out of MAX_FEE_DISCOUNT.\n@return The amount of the fee, as a fixed point number with the same amount of decimals as this terminal."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_feeAmount",
            "nameLocation": "55146:10:72",
            "parameters": {
              "id": 22364,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22359,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "55170:7:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22394,
                  "src": "55162:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22358,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "55162:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22361,
                  "mutability": "mutable",
                  "name": "_fee",
                  "nameLocation": "55191:4:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22394,
                  "src": "55183:12:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22360,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "55183:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22363,
                  "mutability": "mutable",
                  "name": "_feeDiscount",
                  "nameLocation": "55209:12:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22394,
                  "src": "55201:20:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22362,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "55201:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "55156:69:72"
            },
            "returnParameters": {
              "id": 22367,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22366,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22394,
                  "src": "55249:7:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22365,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "55249:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "55248:9:72"
            },
            "scope": 22462,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 22461,
            "nodeType": "FunctionDefinition",
            "src": "55868:802:72",
            "nodes": [],
            "body": {
              "id": 22460,
              "nodeType": "Block",
              "src": "55961:709:72",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                      "typeString": "contract IJBPaymentTerminal"
                    },
                    "id": 22413,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "arguments": [
                        {
                          "id": 22404,
                          "name": "_PROTOCOL_PROJECT_ID",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20229,
                          "src": "56095:20:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 22405,
                          "name": "token",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22475,
                          "src": "56117:5:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "expression": {
                          "id": 22402,
                          "name": "directory",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20246,
                          "src": "56067:9:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                            "typeString": "contract IJBDirectory"
                          }
                        },
                        "id": 22403,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "primaryTerminalOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 31890,
                        "src": "56067:27:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_uint256_$_t_address_$returns$_t_contract$_IJBPaymentTerminal_$31994_$",
                          "typeString": "function (uint256,address) view external returns (contract IJBPaymentTerminal)"
                        }
                      },
                      "id": 22406,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "56067:56:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                        "typeString": "contract IJBPaymentTerminal"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "arguments": [
                        {
                          "arguments": [
                            {
                              "hexValue": "30",
                              "id": 22410,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "56154:1:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 22409,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "56146:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 22408,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "56146:7:72",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 22411,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "56146:10:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 22407,
                        "name": "IJBPaymentTerminal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 31994,
                        "src": "56127:18:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_IJBPaymentTerminal_$31994_$",
                          "typeString": "type(contract IJBPaymentTerminal)"
                        }
                      },
                      "id": 22412,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "56127:30:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                        "typeString": "contract IJBPaymentTerminal"
                      }
                    },
                    "src": "56067:90:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 22417,
                  "nodeType": "IfStatement",
                  "src": "56063:137:72",
                  "trueBody": {
                    "expression": {
                      "expression": {
                        "id": 22414,
                        "name": "JBConstants",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 35765,
                        "src": "56172:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                          "typeString": "type(library JBConstants)"
                        }
                      },
                      "id": 22415,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "MAX_FEE_DISCOUNT",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 35764,
                      "src": "56172:28:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "functionReturnParameters": 22401,
                    "id": 22416,
                    "nodeType": "Return",
                    "src": "56165:35:72"
                  }
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                      "typeString": "contract IJBFeeGauge"
                    },
                    "id": 22425,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 22418,
                      "name": "feeGauge",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20279,
                      "src": "56240:8:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                        "typeString": "contract IJBFeeGauge"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "arguments": [
                        {
                          "arguments": [
                            {
                              "hexValue": "30",
                              "id": 22422,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "56272:1:72",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 22421,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "56264:7:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 22420,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "56264:7:72",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 22423,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "56264:10:72",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 22419,
                        "name": "IJBFeeGauge",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22626,
                        "src": "56252:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_IJBFeeGauge_$22626_$",
                          "typeString": "type(contract IJBFeeGauge)"
                        }
                      },
                      "id": 22424,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "56252:23:72",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                        "typeString": "contract IJBFeeGauge"
                      }
                    },
                    "src": "56240:35:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "clauses": [
                      {
                        "block": {
                          "id": 22441,
                          "nodeType": "Block",
                          "src": "56440:41:72",
                          "statements": [
                            {
                              "expression": {
                                "id": 22439,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 22437,
                                  "name": "feeDiscount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22400,
                                  "src": "56450:11:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 22438,
                                  "name": "discount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22435,
                                  "src": "56464:8:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "56450:22:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 22440,
                              "nodeType": "ExpressionStatement",
                              "src": "56450:22:72"
                            }
                          ]
                        },
                        "errorName": "",
                        "id": 22442,
                        "nodeType": "TryCatchClause",
                        "parameters": {
                          "id": 22436,
                          "nodeType": "ParameterList",
                          "parameters": [
                            {
                              "constant": false,
                              "id": 22435,
                              "mutability": "mutable",
                              "name": "discount",
                              "nameLocation": "56430:8:72",
                              "nodeType": "VariableDeclaration",
                              "scope": 22442,
                              "src": "56422:16:72",
                              "stateVariable": false,
                              "storageLocation": "default",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "typeName": {
                                "id": 22434,
                                "name": "uint256",
                                "nodeType": "ElementaryTypeName",
                                "src": "56422:7:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "visibility": "internal"
                            }
                          ],
                          "src": "56421:18:72"
                        },
                        "src": "56413:68:72"
                      },
                      {
                        "block": {
                          "id": 22447,
                          "nodeType": "Block",
                          "src": "56488:34:72",
                          "statements": [
                            {
                              "expression": {
                                "id": 22445,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 22443,
                                  "name": "feeDiscount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22400,
                                  "src": "56498:11:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "hexValue": "30",
                                  "id": 22444,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "56512:1:72",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "src": "56498:15:72",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 22446,
                              "nodeType": "ExpressionStatement",
                              "src": "56498:15:72"
                            }
                          ]
                        },
                        "errorName": "",
                        "id": 22448,
                        "nodeType": "TryCatchClause",
                        "src": "56482:40:72"
                      }
                    ],
                    "externalCall": {
                      "arguments": [
                        {
                          "id": 22432,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22397,
                          "src": "56401:10:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 22430,
                          "name": "feeGauge",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 20279,
                          "src": "56373:8:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBFeeGauge_$22626",
                            "typeString": "contract IJBFeeGauge"
                          }
                        },
                        "id": 22431,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "currentDiscountFor",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22625,
                        "src": "56373:27:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256) view external returns (uint256)"
                        }
                      },
                      "id": 22433,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "56373:39:72",
                      "tryCall": true,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 22449,
                    "nodeType": "TryStatement",
                    "src": "56369:153:72"
                  },
                  "id": 22450,
                  "nodeType": "IfStatement",
                  "src": "56236:286:72",
                  "trueBody": {
                    "expression": {
                      "id": 22428,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 22426,
                        "name": "feeDiscount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22400,
                        "src": "56283:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "hexValue": "30",
                        "id": 22427,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "56297:1:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "56283:15:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 22429,
                    "nodeType": "ExpressionStatement",
                    "src": "56283:15:72"
                  }
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 22454,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 22451,
                      "name": "feeDiscount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22400,
                      "src": "56606:11:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "expression": {
                        "id": 22452,
                        "name": "JBConstants",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 35765,
                        "src": "56620:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                          "typeString": "type(library JBConstants)"
                        }
                      },
                      "id": 22453,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "MAX_FEE_DISCOUNT",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 35764,
                      "src": "56620:28:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "56606:42:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 22459,
                  "nodeType": "IfStatement",
                  "src": "56602:63:72",
                  "trueBody": {
                    "expression": {
                      "id": 22457,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 22455,
                        "name": "feeDiscount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22400,
                        "src": "56650:11:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "hexValue": "30",
                        "id": 22456,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "56664:1:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "56650:15:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 22458,
                    "nodeType": "ExpressionStatement",
                    "src": "56650:15:72"
                  }
                }
              ]
            },
            "documentation": {
              "id": 22395,
              "nodeType": "StructuredDocumentation",
              "src": "55588:277:72",
              "text": "@notice\nGet the fee discount from the fee gauge for the specified project.\n@param _projectId The ID of the project to get a fee discount for.\n@return feeDiscount The fee discount, which should be interpreted as a percentage out MAX_FEE_DISCOUNT."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_currentFeeDiscount",
            "nameLocation": "55877:19:72",
            "parameters": {
              "id": 22398,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22397,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "55905:10:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22461,
                  "src": "55897:18:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22396,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "55897:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "55896:20:72"
            },
            "returnParameters": {
              "id": 22401,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22400,
                  "mutability": "mutable",
                  "name": "feeDiscount",
                  "nameLocation": "55948:11:72",
                  "nodeType": "VariableDeclaration",
                  "scope": 22461,
                  "src": "55940:19:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22399,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "55940:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "55939:21:72"
            },
            "scope": 22462,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          }
        ],
        "abstract": true,
        "baseContracts": [
          {
            "baseName": {
              "id": 20171,
              "name": "JBSingleTokenPaymentTerminal",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 22584,
              "src": "1867:28:72"
            },
            "id": 20172,
            "nodeType": "InheritanceSpecifier",
            "src": "1867:28:72"
          },
          {
            "baseName": {
              "id": 20173,
              "name": "JBOperatable",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 20151,
              "src": "1899:12:72"
            },
            "id": 20174,
            "nodeType": "InheritanceSpecifier",
            "src": "1899:12:72"
          },
          {
            "baseName": {
              "id": 20175,
              "name": "Ownable",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 36382,
              "src": "1915:7:72"
            },
            "id": 20176,
            "nodeType": "InheritanceSpecifier",
            "src": "1915:7:72"
          },
          {
            "baseName": {
              "id": 20177,
              "name": "ReentrancyGuard",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 36669,
              "src": "1926:15:72"
            },
            "id": 20178,
            "nodeType": "InheritanceSpecifier",
            "src": "1926:15:72"
          },
          {
            "baseName": {
              "id": 20179,
              "name": "IJBPayoutRedemptionPaymentTerminal",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 23035,
              "src": "1945:34:72"
            },
            "id": 20180,
            "nodeType": "InheritanceSpecifier",
            "src": "1945:34:72"
          }
        ],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 20170,
          "nodeType": "StructuredDocumentation",
          "src": "817:992:72",
          "text": "@notice\nGeneric terminal managing all inflows and outflows of funds into the protocol ecosystem.\n@dev\nA project can transfer its funds, along with the power to reconfigure and mint/burn their tokens, from this contract to another allowed terminal of the same token type contract at any time.\n@dev\nAdheres to -\nIJBPayoutRedemptionPaymentTerminal: 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 -\nJBSingleTokenPaymentTerminal: Generic terminal managing all inflows of funds into the protocol ecosystem for one token.\nJBOperatable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions.\nOwnable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions.\nReentrancyGuard: Contract module that helps prevent reentrant calls to a function."
        },
        "fullyImplemented": false,
        "linearizedBaseContracts": [
          22462,
          23035,
          23133,
          22606,
          23055,
          36669,
          36382,
          38890,
          20151,
          22636,
          22584,
          23154,
          31994,
          30243,
          38868
        ],
        "name": "JBPayoutRedemptionPaymentTerminal",
        "nameLocation": "1828:33:72",
        "scope": 22463,
        "usedErrors": [
          20013,
          20186,
          20188,
          20190,
          20192,
          20194,
          20196,
          20198,
          20200,
          20202,
          20204,
          24227
        ]
      }
    ],
    "license": "MIT"
  },
  "id": 72
}