{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IJBDirectory",
          "name": "_directory",
          "type": "address"
        },
        {
          "internalType": "contract IJBFundingCycleStore",
          "name": "_fundingCycleStore",
          "type": "address"
        },
        {
          "internalType": "contract IJBPrices",
          "name": "_prices",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "inputs": [],
      "name": "CURRENCY_MISMATCH",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "DISTRIBUTION_AMOUNT_LIMIT_REACHED",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "FUNDING_CYCLE_DISTRIBUTION_PAUSED",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "FUNDING_CYCLE_PAYMENT_PAUSED",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "FUNDING_CYCLE_REDEEM_PAUSED",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "INADEQUATE_CONTROLLER_ALLOWANCE",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "INADEQUATE_PAYMENT_TERMINAL_STORE_BALANCE",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "INSUFFICIENT_TOKENS",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "INVALID_FUNDING_CYCLE",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "PAYMENT_TERMINAL_MIGRATION_NOT_ALLOWED",
      "type": "error"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "prod1",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "denominator",
          "type": "uint256"
        }
      ],
      "name": "PRBMath__MulDivOverflow",
      "type": "error"
    },
    {
      "inputs": [
        {
          "internalType": "contract IJBSingleTokenPaymentTerminal",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "balanceOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IJBSingleTokenPaymentTerminal",
          "name": "_terminal",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "currentOverflowOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_tokenCount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_totalSupply",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_overflow",
          "type": "uint256"
        }
      ],
      "name": "currentReclaimableOverflowOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IJBSingleTokenPaymentTerminal",
          "name": "_terminal",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_tokenCount",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "_useTotalOverflow",
          "type": "bool"
        }
      ],
      "name": "currentReclaimableOverflowOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_decimals",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_currency",
          "type": "uint256"
        }
      ],
      "name": "currentTotalOverflowOf",
      "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": [],
      "name": "fundingCycleStore",
      "outputs": [
        {
          "internalType": "contract IJBFundingCycleStore",
          "name": "",
          "type": "address"
        }
      ],
      "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"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "recordAddedBalanceFor",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_currency",
          "type": "uint256"
        }
      ],
      "name": "recordDistributionFor",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "number",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "configuration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "basedOn",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "start",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "duration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "weight",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "discountRate",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBFundingCycleBallot",
              "name": "ballot",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "metadata",
              "type": "uint256"
            }
          ],
          "internalType": "struct JBFundingCycle",
          "name": "fundingCycle",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "distributedAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "recordMigration",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "balance",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_payer",
          "type": "address"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "token",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "value",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "decimals",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "currency",
              "type": "uint256"
            }
          ],
          "internalType": "struct JBTokenAmount",
          "name": "_amount",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_baseWeightCurrency",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "_memo",
          "type": "string"
        },
        {
          "internalType": "bytes",
          "name": "_metadata",
          "type": "bytes"
        }
      ],
      "name": "recordPaymentFrom",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "number",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "configuration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "basedOn",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "start",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "duration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "weight",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "discountRate",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBFundingCycleBallot",
              "name": "ballot",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "metadata",
              "type": "uint256"
            }
          ],
          "internalType": "struct JBFundingCycle",
          "name": "fundingCycle",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "tokenCount",
          "type": "uint256"
        },
        {
          "internalType": "contract IJBPayDelegate",
          "name": "delegate",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "memo",
          "type": "string"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_tokenCount",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "_memo",
          "type": "string"
        },
        {
          "internalType": "bytes",
          "name": "_metadata",
          "type": "bytes"
        }
      ],
      "name": "recordRedemptionFor",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "number",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "configuration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "basedOn",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "start",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "duration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "weight",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "discountRate",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBFundingCycleBallot",
              "name": "ballot",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "metadata",
              "type": "uint256"
            }
          ],
          "internalType": "struct JBFundingCycle",
          "name": "fundingCycle",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "reclaimAmount",
          "type": "uint256"
        },
        {
          "internalType": "contract IJBRedemptionDelegate",
          "name": "delegate",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "memo",
          "type": "string"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_currency",
          "type": "uint256"
        }
      ],
      "name": "recordUsedAllowanceOf",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "number",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "configuration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "basedOn",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "start",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "duration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "weight",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "discountRate",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBFundingCycleBallot",
              "name": "ballot",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "metadata",
              "type": "uint256"
            }
          ],
          "internalType": "struct JBFundingCycle",
          "name": "fundingCycle",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "usedAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IJBSingleTokenPaymentTerminal",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "usedDistributionLimitOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IJBSingleTokenPaymentTerminal",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "usedOverflowAllowanceOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x60e06040523480156200001157600080fd5b5060405162003cf238038062003cf2833981016040819052620000349162000061565b60016000556001600160601b0319606093841b811660805291831b821660a05290911b1660c052620000ce565b6000806000606084860312156200007757600080fd5b83516200008481620000b5565b60208501519093506200009781620000b5565b6040850151909250620000aa81620000b5565b809150509250925092565b6001600160a01b0381168114620000cb57600080fd5b50565b60805160601c60a05160601c60c05160601c613b666200018c60003960008181610270015281816107d601528181610db2015281816127c30152612a5901526000818161018b015281816103ba015281816109cf01528181610ea80152818161104f015281816117b6015281816118c101528181611d36015281816122010152612afa015260008181610236015281816104860152818161132601528181611b1c01528181611e450152818161254a015261287f0152613b666000f3fe608060405234801561001057600080fd5b50600436106100ff5760003560e01c8063c294b2f411610097578063d49031c011610066578063d49031c014610292578063d4c3a8d2146102a5578063e7c8e3e3146102d6578063e8ba563a146102eb57600080fd5b8063c294b2f41461021e578063c41c2f2414610231578063c664459714610258578063d3419bf31461026b57600080fd5b80636bb6a5ad116100d35780636bb6a5ad146101d2578063a2df1f95146101e5578063a57c7f59146101f8578063b753d7e91461020b57600080fd5b8062fdd58e1461010457806325386715146101425780632fa1b39114610163578063557e715514610186575b600080fd5b61012f610112366004613008565b600160209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b61015561015036600461329b565b61031c565b604051610139929190613343565b610176610171366004612dcf565b61092e565b60405161013994939291906133cb565b6101ad7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610139565b61012f6101e03660046131c8565b610e6c565b6101766101f3366004612eae565b610fae565b61012f6102063660046132c7565b611765565b61012f61021936600461329b565b611861565b61012f61022c366004613069565b611878565b6101ad7f000000000000000000000000000000000000000000000000000000000000000081565b61015561026636600461329b565b611c98565b6101ad7f000000000000000000000000000000000000000000000000000000000000000081565b61012f6102a0366004613008565b6121f8565b61012f6102b3366004613034565b600360209081526000938452604080852082529284528284209052825290205481565b6102e96102e4366004613255565b6122fa565b005b61012f6102f9366004613034565b600260209081526000938452604080852082529284528284209052825290205481565b61038160405180610120016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b600061038b612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018690527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b15801561041257600080fd5b505afa158015610426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044a91906130d9565b33600090815260036020908152604080832089845282528083208285015184529091528120549193509061047f9086906137e9565b90506000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635dd8f6aa896040518263ffffffff1660e01b81526004016104df91815260200190565b60206040518083038186803b1580156104f757600080fd5b505afa15801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190612db2565b73ffffffffffffffffffffffffffffffffffffffff16637a81b562898760200151333373ffffffffffffffffffffffffffffffffffffffff1663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561059757600080fd5b505afa1580156105ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cf9190612db2565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681526004810194909452602484019290925273ffffffffffffffffffffffffffffffffffffffff9081166044840152166064820152608401604080518083038186803b15801561064857600080fd5b505afa15801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190613277565b9150915081831180610690575081155b156106c7576040517fb6ecab1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808614610700576040517fe56ea4e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561074857600080fd5b505afa15801561075c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078091906131e1565b90508087146108705761086b886107996012600a61389d565b6040517fa4d0caf2000000000000000000000000000000000000000000000000000000008152600481018b905260248101859052601260448201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a4d0caf2906064015b60206040518083038186803b15801561082e57600080fd5b505afa158015610842573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086691906131e1565b6123bc565b610872565b875b9450610880338a88846124c1565b8511156108b9576040517f2fca7ece00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526003602090815260408083208d845282528083208a83015184528252808320889055928252600181528282208c8352905220546108fd9086906139a0565b3360009081526001602090815260408083208d845290915290205550610926925061282f915050565b935093915050565b61099360405180610120016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b60008060606109a0612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018b90527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b158015610a2757600080fd5b505afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906130d9565b8051909450610a9a576040517f2e96671a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61010084015160481c60019081161415610ae0576040517fa3bb913300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61010084015160009060521c60019081161415610ca55760006040518061014001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018f73ffffffffffffffffffffffffffffffffffffffff1681526020018e803603810190610b4e9190613159565b815260208082018f9052880151604082015273ffffffffffffffffffffffffffffffffffffffff8c16606082015260a080890151608083015261010089015191019060181c61ffff1681526020018a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506020018890529050610bec86610100015160541c90565b73ffffffffffffffffffffffffffffffffffffffff1663d46cf171826040518263ffffffff1660e01b8152600401610c24919061347c565b600060405180830381600087803b158015610c3e57600080fd5b505af1158015610c52573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610c9891908101906131fa565b955093509150610ce69050565b8460a00151905087878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509294505050505b60208c0135610cf9575060009250610e53565b3360009081526001602090815260408083208e8452825290912054610d21918e0135906137e9565b3360009081526001602090815260408083208f845290915290205580610d4b575060009250610e53565b60408c0135600060608e01358c14610e31576040517fa4d0caf200000000000000000000000000000000000000000000000000000000815260608f01356004820152602481018d90526044810183905273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063a4d0caf29060640160206040518083038186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c91906131e1565b610e3c565b610e3c82600a61389d565b9050610e4d8e6020013584836123bc565b95505050505b610e5d6001600055565b98509850985098945050505050565b6000610e76612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018390526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b158015610f0057600080fd5b505afa158015610f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3891906130d9565b610100810151909150604e1c600190811614610f80576040517fe7c9e0be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505033600090815260016020818152604080842085855290915282208054908390559155919050565b919050565b61101360405180610120016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b6000806060611020612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018990527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b1580156110a757600080fd5b505afa1580156110bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110df91906130d9565b610100810151909450604a1c60019081161415611128576040517fa97cf58f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111696040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081525090565b60008060003373ffffffffffffffffffffffffffffffffffffffff1663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156111b457600080fd5b505afa1580156111c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ec9190612db2565b905060003373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561123657600080fd5b505afa15801561124a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126e91906131e1565b905060003373ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112b857600080fd5b505afa1580156112cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f091906131e1565b6101008b015190915060511c60019081161461131757611312338f8c846124c1565b611322565b6113228e8383612836565b94507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635dd8f6aa8f6040518263ffffffff1660e01b815260040161137f91815260200190565b60206040518083038186803b15801561139757600080fd5b505afa1580156113ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cf9190612db2565b73ffffffffffffffffffffffffffffffffffffffff1663b5f1e34d8f6114018d610100015161ffff60189190911c1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526004810192909252602482015260440160206040518083038186803b15801561145557600080fd5b505afa158015611469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148d91906131e1565b9350838d11156114c9576040517fb8af220000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84156114df576114dc8e8b8f8789612ab7565b98505b6040805160808101825273ffffffffffffffffffffffffffffffffffffffff949094168452602084018a9052830191909152606082015261010088015190935060531c600190811614156116ab576000604051806101a001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018e73ffffffffffffffffffffffffffffffffffffffff1681526020018d8152602001896020015181526020018c81526020018381526020018481526020018581526020016115b28a6101000151600160519190911c81161490565b151581526020016115c28a612c23565b81526020016115d08a612c40565b81526020018b81526020018a81525090506115f088610100015160541c90565b73ffffffffffffffffffffffffffffffffffffffff16638dfc9598826040518263ffffffff1660e01b815260040161162891906135d3565b600060405180830381600087803b15801561164257600080fd5b505af1158015611656573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261169c91908101906131fa565b91985090965094506116af9050565b8893505b50503360009081526001602090815260408083208c84529091529020548411159050611707576040517f2fca7ece00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b821561174f573360009081526001602090815260408083208b84529091529020546117339084906139a0565b3360009081526001602090815260408083208c84529091529020555b6117596001600055565b95509550955095915050565b60008161177457506000611859565b8284111561178457506000611859565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018690526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b15801561180e57600080fd5b505afa158015611822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184691906130d9565b90506118558682878787612ab7565b9150505b949350505050565b600061186e848484612836565b90505b9392505050565b6040517f43a266c200000000000000000000000000000000000000000000000000000000815260048101849052600090819073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906343a266c2906024016101206040518083038186803b15801561190457600080fd5b505afa158015611918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193c91906130d9565b90506000836119d3576119ce8787848a73ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561199157600080fd5b505afa1580156119a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c991906131e1565b6124c1565b611ad8565b611ad8868873ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611a1d57600080fd5b505afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5591906131e1565b8973ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a9b57600080fd5b505afa158015611aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad391906131e1565b612836565b905080611aea57600092505050611859565b6040517f5dd8f6aa000000000000000000000000000000000000000000000000000000008152600481018790526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690635dd8f6aa9060240160206040518083038186803b158015611b7357600080fd5b505afa158015611b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bab9190612db2565b73ffffffffffffffffffffffffffffffffffffffff1663b5f1e34d88611bdd86610100015161ffff60189190911c1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526004810192909252602482015260440160206040518083038186803b158015611c3157600080fd5b505afa158015611c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6991906131e1565b905080861115611c7f5760009350505050611859565b611c8c8784888486612ab7565b98975050505050505050565b611cfd60405180610120016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b6000611d07612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018690527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b158015611d8e57600080fd5b505afa158015611da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc691906130d9565b61010081015190925060491c60019081161415611e0f576040517f861e9dcd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600260209081526040808320888452825280832085518452909152812054611e3e9086906137e9565b90506000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635dd8f6aa896040518263ffffffff1660e01b8152600401611e9e91815260200190565b60206040518083038186803b158015611eb657600080fd5b505afa158015611eca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eee9190612db2565b73ffffffffffffffffffffffffffffffffffffffff1663e8db2130898760200151333373ffffffffffffffffffffffffffffffffffffffff1663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f5657600080fd5b505afa158015611f6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8e9190612db2565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681526004810194909452602484019290925273ffffffffffffffffffffffffffffffffffffffff9081166044840152166064820152608401604080518083038186803b15801561200757600080fd5b505afa15801561201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203f9190613277565b915091508183118061204f575081155b15612086576040517f08dae4ac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8086146120bf576040517fe56ea4e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561210757600080fd5b505afa15801561211b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213f91906131e1565b905080871461215d57612158886107996012600a61389d565b61215f565b875b3360009081526001602090815260408083208d84529091529020549095508511156121b6576040517f2fca7ece00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526002602090815260408083208d845282528083208a5184528252808320889055928252600181528282208c8352905220546108fd9086906139a0565b60006122f183837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166343a266c2866040518263ffffffff1660e01b815260040161225a91815260200190565b6101206040518083038186803b15801561227357600080fd5b505afa158015612287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ab91906130d9565b8673ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561199157600080fd5b90505b92915050565b3360009081526001602090815260408083208584529091529020546123209082906137e9565b336000908152600160209081526040808320958352949052929092209190915550565b600260005414156123b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600055565b600080807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85870985870292508281108382030391505080600014156124155783828161240b5761240b613a4f565b0492505050611871565b838110612458576040517f773cc18c00000000000000000000000000000000000000000000000000000000815260048101829052602481018590526044016123ac565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832086845290915281205480612501576000915050611859565b6040517f5dd8f6aa00000000000000000000000000000000000000000000000000000000815260048101869052600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690635dd8f6aa9060240160206040518083038186803b15801561258c57600080fd5b505afa1580156125a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c49190612db2565b73ffffffffffffffffffffffffffffffffffffffff1663e8db21308888602001518b8c73ffffffffffffffffffffffffffffffffffffffff1663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561262c57600080fd5b505afa158015612640573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126649190612db2565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681526004810194909452602484019290925273ffffffffffffffffffffffffffffffffffffffff9081166044840152166064820152608401604080518083038186803b1580156126dd57600080fd5b505afa1580156126f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127159190613277565b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526002602090815260408083208c845282528083208b5184529091528120549294509092509061276090846139a0565b905080158015906127715750858214155b1561280a57612807816127866012600a61389d565b6040517fa4d0caf200000000000000000000000000000000000000000000000000000000815260048101869052602481018a9052601260448201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a4d0caf290606401610816565b90505b808411612818576000612822565b61282281856139a0565b9998505050505050505050565b6001600055565b6040517fd175415300000000000000000000000000000000000000000000000000000000815260048101849052600090819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063d17541539060240160006040518083038186803b1580156128c157600080fd5b505afa1580156128d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261291b9190810190612f4f565b90506000805b82518110156129ec5782818151811061293c5761293c613aad565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663a32e1e96886040518263ffffffff1660e01b815260040161297e91815260200190565b60206040518083038186803b15801561299657600080fd5b505afa1580156129aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ce91906131e1565b6129d890836137e9565b9150806129e4816139e7565b915050612921565b50600060018514612a8d576040517fa4d0caf2000000000000000000000000000000000000000000000000000000008152600160048201526024810186905260126044820152612a88908390670de0b6b3a76400009073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063a4d0caf290606401610816565b612a8f565b815b905085601214612aaa57612aa581601288612c5d565b612aac565b805b979650505050505050565b600082841415612ac8575080612c1a565b6000806040517fc55f571c000000000000000000000000000000000000000000000000000000008152600481018990527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063c55f571c9060240160206040518083038186803b158015612b5157600080fd5b505afa158015612b65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8991906130b8565b6002811115612b9a57612b9a613a7e565b14612bad57612ba886612c23565b612bb6565b612bb686612c40565b905080612bc7576000915050612c1a565b6000612bd48487876123bc565b9050612710821415612be9579150612c1a9050565b612c1581612c0388612bfd866127106139a0565b896123bc565b612c0d90856137e9565b6127106123bc565b925050505b95945050505050565b60006028826101000151901c61ffff166127106122f491906139a0565b60006038826101000151901c61ffff166127106122f491906139a0565b600082821415612c6e575082611871565b82821115612c9c57612c8083836139a0565b612c8b90600a61389d565b612c959085613963565b9050611871565b612ca682846139a0565b612cb190600a61389d565b612c959085613801565b6000612cce612cc9846137a3565b613754565b9050828152838383011115612ce257600080fd5b828260208301376000602084830101529392505050565b600082601f830112612d0a57600080fd5b6122f183833560208501612cbb565b8051610fa981613b0b565b60008083601f840112612d3657600080fd5b50813567ffffffffffffffff811115612d4e57600080fd5b602083019150836020828501011115612d6657600080fd5b9250929050565b600082601f830112612d7e57600080fd5b8151612d8c612cc9826137a3565b818152846020838601011115612da157600080fd5b6118598260208301602087016139b7565b600060208284031215612dc457600080fd5b815161187181613b0b565b600080600080600080600080888a03610140811215612ded57600080fd5b8935612df881613b0b565b985060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082011215612e2a57600080fd5b5060208901965060a0890135955060c0890135945060e0890135612e4d81613b0b565b935061010089013567ffffffffffffffff80821115612e6b57600080fd5b612e778c838d01612d24565b90955093506101208b0135915080821115612e9157600080fd5b50612e9e8b828c01612cf9565b9150509295985092959890939650565b600080600080600060a08688031215612ec657600080fd5b8535612ed181613b0b565b94506020860135935060408601359250606086013567ffffffffffffffff80821115612efc57600080fd5b818801915088601f830112612f1057600080fd5b612f1f89833560208501612cbb565b93506080880135915080821115612f3557600080fd5b50612f4288828901612cf9565b9150509295509295909350565b60006020808385031215612f6257600080fd5b825167ffffffffffffffff80821115612f7a57600080fd5b818501915085601f830112612f8e57600080fd5b815181811115612fa057612fa0613adc565b8060051b9150612fb1848301613754565b8181528481019084860184860187018a1015612fcc57600080fd5b600095505b83861015612ffb5780519450612fe685613b0b565b84835260019590950194918601918601612fd1565b5098975050505050505050565b6000806040838503121561301b57600080fd5b823561302681613b0b565b946020939093013593505050565b60008060006060848603121561304957600080fd5b833561305481613b0b565b95602085013595506040909401359392505050565b6000806000806080858703121561307f57600080fd5b843561308a81613b0b565b93506020850135925060408501359150606085013580151581146130ad57600080fd5b939692955090935050565b6000602082840312156130ca57600080fd5b81516003811061187157600080fd5b600061012082840312156130ec57600080fd5b6130f461372a565b825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015261314060e08401612d19565b60e0820152610100928301519281019290925250919050565b60006080828403121561316b57600080fd5b6040516080810181811067ffffffffffffffff8211171561318e5761318e613adc565b604052823561319c81613b0b565b808252506020830135602082015260408301356040820152606083013560608201528091505092915050565b6000602082840312156131da57600080fd5b5035919050565b6000602082840312156131f357600080fd5b5051919050565b60008060006060848603121561320f57600080fd5b83519250602084015167ffffffffffffffff81111561322d57600080fd5b61323986828701612d6d565b925050604084015161324a81613b0b565b809150509250925092565b6000806040838503121561326857600080fd5b50508035926020909101359150565b6000806040838503121561328a57600080fd5b505080516020909101519092909150565b6000806000606084860312156132b057600080fd5b505081359360208301359350604090920135919050565b600080600080608085870312156132dd57600080fd5b5050823594602084013594506040840135936060013592509050565b600081518084526133118160208601602086016139b7565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b61014081016133bd8285805182526020810151602083015260408101516040830152606081015160608301526080810151608083015260a081015160a083015260c081015160c083015273ffffffffffffffffffffffffffffffffffffffff60e08201511660e08301526101008082015181840152505050565b826101208301529392505050565b60006101806134458388805182526020810151602083015260408101516040830152606081015160608301526080810151608083015260a081015160a083015260c081015160c083015273ffffffffffffffffffffffffffffffffffffffff60e08201511660e08301526101008082015181840152505050565b8561012084015273ffffffffffffffffffffffffffffffffffffffff851661014084015280610160840152612aac818401856132f9565b602081526134a360208201835173ffffffffffffffffffffffffffffffffffffffff169052565b600060208301516134cc604084018273ffffffffffffffffffffffffffffffffffffffff169052565b506040830151613516606084018273ffffffffffffffffffffffffffffffffffffffff81511682526020810151602083015260408101516040830152606081015160608301525050565b50606083015160e08301526080830151610100818185015260a085015191506101206135598186018473ffffffffffffffffffffffffffffffffffffffff169052565b60c086015161014086015260e08601516101608601528186015192506101a091508161018086015261358f6101c08601846132f9565b908601518582037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001838701529092506135c983826132f9565b9695505050505050565b602081526135fa60208201835173ffffffffffffffffffffffffffffffffffffffff169052565b60006020830151613623604084018273ffffffffffffffffffffffffffffffffffffffff169052565b506040830151606083015260608301516080830152608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006136a18185018373ffffffffffffffffffffffffffffffffffffffff81511682526020810151602083015260408101516040830152606081015160608301525050565b84015190506101806136b68482018315159052565b6101208501516101a08501526101408501516101c08501526101608501519150610200806101e08601526136ee6102208601846132f9565b92508186015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0858403018186015250612c1a82826132f9565b604051610120810167ffffffffffffffff8111828210171561374e5761374e613adc565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561379b5761379b613adc565b604052919050565b600067ffffffffffffffff8211156137bd576137bd613adc565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082198211156137fc576137fc613a20565b500190565b600082613837577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600181815b8085111561389557817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111561387b5761387b613a20565b8085161561388857918102915b93841c9390800290613841565b509250929050565b60006122f183836000826138b3575060016122f4565b816138c0575060006122f4565b81600181146138d657600281146138e0576138fc565b60019150506122f4565b60ff8411156138f1576138f1613a20565b50506001821b6122f4565b5060208310610133831016604e8410600b841016171561391f575081810a6122f4565b613929838361383c565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111561395b5761395b613a20565b029392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561399b5761399b613a20565b500290565b6000828210156139b2576139b2613a20565b500390565b60005b838110156139d25781810151838201526020016139ba565b838111156139e1576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a1957613a19613a20565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114613b2d57600080fd5b5056fea2646970667358221220d057582967e2413dd9c0837187c990de8de5f7155e07f0b7716296fc2a966b4264736f6c63430008060033",
    "sourceMap": "864:35648:66:-:0;;;11578:212;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1716:1:144;1821:7;:22;-1:-1:-1;;11697:22:66;;;;;;;11725:38;;;;;;;11769:16;;;;;;864:35648;;14:632:168;173:6;181;189;242:2;230:9;221:7;217:23;213:32;210:2;;;258:1;255;248:12;210:2;290:9;284:16;309:45;348:5;309:45;:::i;:::-;423:2;408:18;;402:25;373:5;;-1:-1:-1;436:47:168;402:25;436:47;:::i;:::-;554:2;539:18;;533:25;502:7;;-1:-1:-1;567:47:168;533:25;567:47;:::i;:::-;633:7;623:17;;;200:446;;;;;:::o;651:145::-;-1:-1:-1;740:31:168;;730:42;;720:2;;786:1;783;776:12;720:2;710:86;:::o;:::-;864:35648:66;;;;;;;;;;;;;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x608060405234801561001057600080fd5b50600436106100ff5760003560e01c8063c294b2f411610097578063d49031c011610066578063d49031c014610292578063d4c3a8d2146102a5578063e7c8e3e3146102d6578063e8ba563a146102eb57600080fd5b8063c294b2f41461021e578063c41c2f2414610231578063c664459714610258578063d3419bf31461026b57600080fd5b80636bb6a5ad116100d35780636bb6a5ad146101d2578063a2df1f95146101e5578063a57c7f59146101f8578063b753d7e91461020b57600080fd5b8062fdd58e1461010457806325386715146101425780632fa1b39114610163578063557e715514610186575b600080fd5b61012f610112366004613008565b600160209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b61015561015036600461329b565b61031c565b604051610139929190613343565b610176610171366004612dcf565b61092e565b60405161013994939291906133cb565b6101ad7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610139565b61012f6101e03660046131c8565b610e6c565b6101766101f3366004612eae565b610fae565b61012f6102063660046132c7565b611765565b61012f61021936600461329b565b611861565b61012f61022c366004613069565b611878565b6101ad7f000000000000000000000000000000000000000000000000000000000000000081565b61015561026636600461329b565b611c98565b6101ad7f000000000000000000000000000000000000000000000000000000000000000081565b61012f6102a0366004613008565b6121f8565b61012f6102b3366004613034565b600360209081526000938452604080852082529284528284209052825290205481565b6102e96102e4366004613255565b6122fa565b005b61012f6102f9366004613034565b600260209081526000938452604080852082529284528284209052825290205481565b61038160405180610120016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b600061038b612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018690527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b15801561041257600080fd5b505afa158015610426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044a91906130d9565b33600090815260036020908152604080832089845282528083208285015184529091528120549193509061047f9086906137e9565b90506000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635dd8f6aa896040518263ffffffff1660e01b81526004016104df91815260200190565b60206040518083038186803b1580156104f757600080fd5b505afa15801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190612db2565b73ffffffffffffffffffffffffffffffffffffffff16637a81b562898760200151333373ffffffffffffffffffffffffffffffffffffffff1663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561059757600080fd5b505afa1580156105ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cf9190612db2565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681526004810194909452602484019290925273ffffffffffffffffffffffffffffffffffffffff9081166044840152166064820152608401604080518083038186803b15801561064857600080fd5b505afa15801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190613277565b9150915081831180610690575081155b156106c7576040517fb6ecab1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808614610700576040517fe56ea4e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561074857600080fd5b505afa15801561075c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078091906131e1565b90508087146108705761086b886107996012600a61389d565b6040517fa4d0caf2000000000000000000000000000000000000000000000000000000008152600481018b905260248101859052601260448201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a4d0caf2906064015b60206040518083038186803b15801561082e57600080fd5b505afa158015610842573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086691906131e1565b6123bc565b610872565b875b9450610880338a88846124c1565b8511156108b9576040517f2fca7ece00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526003602090815260408083208d845282528083208a83015184528252808320889055928252600181528282208c8352905220546108fd9086906139a0565b3360009081526001602090815260408083208d845290915290205550610926925061282f915050565b935093915050565b61099360405180610120016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b60008060606109a0612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018b90527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b158015610a2757600080fd5b505afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906130d9565b8051909450610a9a576040517f2e96671a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61010084015160481c60019081161415610ae0576040517fa3bb913300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61010084015160009060521c60019081161415610ca55760006040518061014001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018f73ffffffffffffffffffffffffffffffffffffffff1681526020018e803603810190610b4e9190613159565b815260208082018f9052880151604082015273ffffffffffffffffffffffffffffffffffffffff8c16606082015260a080890151608083015261010089015191019060181c61ffff1681526020018a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506020018890529050610bec86610100015160541c90565b73ffffffffffffffffffffffffffffffffffffffff1663d46cf171826040518263ffffffff1660e01b8152600401610c24919061347c565b600060405180830381600087803b158015610c3e57600080fd5b505af1158015610c52573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610c9891908101906131fa565b955093509150610ce69050565b8460a00151905087878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509294505050505b60208c0135610cf9575060009250610e53565b3360009081526001602090815260408083208e8452825290912054610d21918e0135906137e9565b3360009081526001602090815260408083208f845290915290205580610d4b575060009250610e53565b60408c0135600060608e01358c14610e31576040517fa4d0caf200000000000000000000000000000000000000000000000000000000815260608f01356004820152602481018d90526044810183905273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063a4d0caf29060640160206040518083038186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2c91906131e1565b610e3c565b610e3c82600a61389d565b9050610e4d8e6020013584836123bc565b95505050505b610e5d6001600055565b98509850985098945050505050565b6000610e76612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018390526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b158015610f0057600080fd5b505afa158015610f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3891906130d9565b610100810151909150604e1c600190811614610f80576040517fe7c9e0be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505033600090815260016020818152604080842085855290915282208054908390559155919050565b919050565b61101360405180610120016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b6000806060611020612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018990527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b1580156110a757600080fd5b505afa1580156110bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110df91906130d9565b610100810151909450604a1c60019081161415611128576040517fa97cf58f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111696040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081525090565b60008060003373ffffffffffffffffffffffffffffffffffffffff1663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156111b457600080fd5b505afa1580156111c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ec9190612db2565b905060003373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561123657600080fd5b505afa15801561124a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126e91906131e1565b905060003373ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156112b857600080fd5b505afa1580156112cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f091906131e1565b6101008b015190915060511c60019081161461131757611312338f8c846124c1565b611322565b6113228e8383612836565b94507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635dd8f6aa8f6040518263ffffffff1660e01b815260040161137f91815260200190565b60206040518083038186803b15801561139757600080fd5b505afa1580156113ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cf9190612db2565b73ffffffffffffffffffffffffffffffffffffffff1663b5f1e34d8f6114018d610100015161ffff60189190911c1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526004810192909252602482015260440160206040518083038186803b15801561145557600080fd5b505afa158015611469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148d91906131e1565b9350838d11156114c9576040517fb8af220000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84156114df576114dc8e8b8f8789612ab7565b98505b6040805160808101825273ffffffffffffffffffffffffffffffffffffffff949094168452602084018a9052830191909152606082015261010088015190935060531c600190811614156116ab576000604051806101a001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018e73ffffffffffffffffffffffffffffffffffffffff1681526020018d8152602001896020015181526020018c81526020018381526020018481526020018581526020016115b28a6101000151600160519190911c81161490565b151581526020016115c28a612c23565b81526020016115d08a612c40565b81526020018b81526020018a81525090506115f088610100015160541c90565b73ffffffffffffffffffffffffffffffffffffffff16638dfc9598826040518263ffffffff1660e01b815260040161162891906135d3565b600060405180830381600087803b15801561164257600080fd5b505af1158015611656573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261169c91908101906131fa565b91985090965094506116af9050565b8893505b50503360009081526001602090815260408083208c84529091529020548411159050611707576040517f2fca7ece00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b821561174f573360009081526001602090815260408083208b84529091529020546117339084906139a0565b3360009081526001602090815260408083208c84529091529020555b6117596001600055565b95509550955095915050565b60008161177457506000611859565b8284111561178457506000611859565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018690526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b15801561180e57600080fd5b505afa158015611822573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184691906130d9565b90506118558682878787612ab7565b9150505b949350505050565b600061186e848484612836565b90505b9392505050565b6040517f43a266c200000000000000000000000000000000000000000000000000000000815260048101849052600090819073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906343a266c2906024016101206040518083038186803b15801561190457600080fd5b505afa158015611918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193c91906130d9565b90506000836119d3576119ce8787848a73ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561199157600080fd5b505afa1580156119a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c991906131e1565b6124c1565b611ad8565b611ad8868873ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611a1d57600080fd5b505afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5591906131e1565b8973ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a9b57600080fd5b505afa158015611aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad391906131e1565b612836565b905080611aea57600092505050611859565b6040517f5dd8f6aa000000000000000000000000000000000000000000000000000000008152600481018790526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690635dd8f6aa9060240160206040518083038186803b158015611b7357600080fd5b505afa158015611b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bab9190612db2565b73ffffffffffffffffffffffffffffffffffffffff1663b5f1e34d88611bdd86610100015161ffff60189190911c1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526004810192909252602482015260440160206040518083038186803b158015611c3157600080fd5b505afa158015611c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6991906131e1565b905080861115611c7f5760009350505050611859565b611c8c8784888486612ab7565b98975050505050505050565b611cfd60405180610120016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b6000611d07612343565b6040517f43a266c2000000000000000000000000000000000000000000000000000000008152600481018690527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906343a266c2906024016101206040518083038186803b158015611d8e57600080fd5b505afa158015611da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc691906130d9565b61010081015190925060491c60019081161415611e0f576040517f861e9dcd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600260209081526040808320888452825280832085518452909152812054611e3e9086906137e9565b90506000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635dd8f6aa896040518263ffffffff1660e01b8152600401611e9e91815260200190565b60206040518083038186803b158015611eb657600080fd5b505afa158015611eca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eee9190612db2565b73ffffffffffffffffffffffffffffffffffffffff1663e8db2130898760200151333373ffffffffffffffffffffffffffffffffffffffff1663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f5657600080fd5b505afa158015611f6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8e9190612db2565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681526004810194909452602484019290925273ffffffffffffffffffffffffffffffffffffffff9081166044840152166064820152608401604080518083038186803b15801561200757600080fd5b505afa15801561201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203f9190613277565b915091508183118061204f575081155b15612086576040517f08dae4ac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8086146120bf576040517fe56ea4e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561210757600080fd5b505afa15801561211b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213f91906131e1565b905080871461215d57612158886107996012600a61389d565b61215f565b875b3360009081526001602090815260408083208d84529091529020549095508511156121b6576040517f2fca7ece00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526002602090815260408083208d845282528083208a5184528252808320889055928252600181528282208c8352905220546108fd9086906139a0565b60006122f183837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166343a266c2866040518263ffffffff1660e01b815260040161225a91815260200190565b6101206040518083038186803b15801561227357600080fd5b505afa158015612287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ab91906130d9565b8673ffffffffffffffffffffffffffffffffffffffff1663e5a6b10f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561199157600080fd5b90505b92915050565b3360009081526001602090815260408083208584529091529020546123209082906137e9565b336000908152600160209081526040808320958352949052929092209190915550565b600260005414156123b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600055565b600080807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85870985870292508281108382030391505080600014156124155783828161240b5761240b613a4f565b0492505050611871565b838110612458576040517f773cc18c00000000000000000000000000000000000000000000000000000000815260048101829052602481018590526044016123ac565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832086845290915281205480612501576000915050611859565b6040517f5dd8f6aa00000000000000000000000000000000000000000000000000000000815260048101869052600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690635dd8f6aa9060240160206040518083038186803b15801561258c57600080fd5b505afa1580156125a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c49190612db2565b73ffffffffffffffffffffffffffffffffffffffff1663e8db21308888602001518b8c73ffffffffffffffffffffffffffffffffffffffff1663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561262c57600080fd5b505afa158015612640573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126649190612db2565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b1681526004810194909452602484019290925273ffffffffffffffffffffffffffffffffffffffff9081166044840152166064820152608401604080518083038186803b1580156126dd57600080fd5b505afa1580156126f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127159190613277565b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526002602090815260408083208c845282528083208b5184529091528120549294509092509061276090846139a0565b905080158015906127715750858214155b1561280a57612807816127866012600a61389d565b6040517fa4d0caf200000000000000000000000000000000000000000000000000000000815260048101869052602481018a9052601260448201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a4d0caf290606401610816565b90505b808411612818576000612822565b61282281856139a0565b9998505050505050505050565b6001600055565b6040517fd175415300000000000000000000000000000000000000000000000000000000815260048101849052600090819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063d17541539060240160006040518083038186803b1580156128c157600080fd5b505afa1580156128d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261291b9190810190612f4f565b90506000805b82518110156129ec5782818151811061293c5761293c613aad565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663a32e1e96886040518263ffffffff1660e01b815260040161297e91815260200190565b60206040518083038186803b15801561299657600080fd5b505afa1580156129aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ce91906131e1565b6129d890836137e9565b9150806129e4816139e7565b915050612921565b50600060018514612a8d576040517fa4d0caf2000000000000000000000000000000000000000000000000000000008152600160048201526024810186905260126044820152612a88908390670de0b6b3a76400009073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063a4d0caf290606401610816565b612a8f565b815b905085601214612aaa57612aa581601288612c5d565b612aac565b805b979650505050505050565b600082841415612ac8575080612c1a565b6000806040517fc55f571c000000000000000000000000000000000000000000000000000000008152600481018990527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063c55f571c9060240160206040518083038186803b158015612b5157600080fd5b505afa158015612b65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8991906130b8565b6002811115612b9a57612b9a613a7e565b14612bad57612ba886612c23565b612bb6565b612bb686612c40565b905080612bc7576000915050612c1a565b6000612bd48487876123bc565b9050612710821415612be9579150612c1a9050565b612c1581612c0388612bfd866127106139a0565b896123bc565b612c0d90856137e9565b6127106123bc565b925050505b95945050505050565b60006028826101000151901c61ffff166127106122f491906139a0565b60006038826101000151901c61ffff166127106122f491906139a0565b600082821415612c6e575082611871565b82821115612c9c57612c8083836139a0565b612c8b90600a61389d565b612c959085613963565b9050611871565b612ca682846139a0565b612cb190600a61389d565b612c959085613801565b6000612cce612cc9846137a3565b613754565b9050828152838383011115612ce257600080fd5b828260208301376000602084830101529392505050565b600082601f830112612d0a57600080fd5b6122f183833560208501612cbb565b8051610fa981613b0b565b60008083601f840112612d3657600080fd5b50813567ffffffffffffffff811115612d4e57600080fd5b602083019150836020828501011115612d6657600080fd5b9250929050565b600082601f830112612d7e57600080fd5b8151612d8c612cc9826137a3565b818152846020838601011115612da157600080fd5b6118598260208301602087016139b7565b600060208284031215612dc457600080fd5b815161187181613b0b565b600080600080600080600080888a03610140811215612ded57600080fd5b8935612df881613b0b565b985060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082011215612e2a57600080fd5b5060208901965060a0890135955060c0890135945060e0890135612e4d81613b0b565b935061010089013567ffffffffffffffff80821115612e6b57600080fd5b612e778c838d01612d24565b90955093506101208b0135915080821115612e9157600080fd5b50612e9e8b828c01612cf9565b9150509295985092959890939650565b600080600080600060a08688031215612ec657600080fd5b8535612ed181613b0b565b94506020860135935060408601359250606086013567ffffffffffffffff80821115612efc57600080fd5b818801915088601f830112612f1057600080fd5b612f1f89833560208501612cbb565b93506080880135915080821115612f3557600080fd5b50612f4288828901612cf9565b9150509295509295909350565b60006020808385031215612f6257600080fd5b825167ffffffffffffffff80821115612f7a57600080fd5b818501915085601f830112612f8e57600080fd5b815181811115612fa057612fa0613adc565b8060051b9150612fb1848301613754565b8181528481019084860184860187018a1015612fcc57600080fd5b600095505b83861015612ffb5780519450612fe685613b0b565b84835260019590950194918601918601612fd1565b5098975050505050505050565b6000806040838503121561301b57600080fd5b823561302681613b0b565b946020939093013593505050565b60008060006060848603121561304957600080fd5b833561305481613b0b565b95602085013595506040909401359392505050565b6000806000806080858703121561307f57600080fd5b843561308a81613b0b565b93506020850135925060408501359150606085013580151581146130ad57600080fd5b939692955090935050565b6000602082840312156130ca57600080fd5b81516003811061187157600080fd5b600061012082840312156130ec57600080fd5b6130f461372a565b825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015261314060e08401612d19565b60e0820152610100928301519281019290925250919050565b60006080828403121561316b57600080fd5b6040516080810181811067ffffffffffffffff8211171561318e5761318e613adc565b604052823561319c81613b0b565b808252506020830135602082015260408301356040820152606083013560608201528091505092915050565b6000602082840312156131da57600080fd5b5035919050565b6000602082840312156131f357600080fd5b5051919050565b60008060006060848603121561320f57600080fd5b83519250602084015167ffffffffffffffff81111561322d57600080fd5b61323986828701612d6d565b925050604084015161324a81613b0b565b809150509250925092565b6000806040838503121561326857600080fd5b50508035926020909101359150565b6000806040838503121561328a57600080fd5b505080516020909101519092909150565b6000806000606084860312156132b057600080fd5b505081359360208301359350604090920135919050565b600080600080608085870312156132dd57600080fd5b5050823594602084013594506040840135936060013592509050565b600081518084526133118160208601602086016139b7565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b61014081016133bd8285805182526020810151602083015260408101516040830152606081015160608301526080810151608083015260a081015160a083015260c081015160c083015273ffffffffffffffffffffffffffffffffffffffff60e08201511660e08301526101008082015181840152505050565b826101208301529392505050565b60006101806134458388805182526020810151602083015260408101516040830152606081015160608301526080810151608083015260a081015160a083015260c081015160c083015273ffffffffffffffffffffffffffffffffffffffff60e08201511660e08301526101008082015181840152505050565b8561012084015273ffffffffffffffffffffffffffffffffffffffff851661014084015280610160840152612aac818401856132f9565b602081526134a360208201835173ffffffffffffffffffffffffffffffffffffffff169052565b600060208301516134cc604084018273ffffffffffffffffffffffffffffffffffffffff169052565b506040830151613516606084018273ffffffffffffffffffffffffffffffffffffffff81511682526020810151602083015260408101516040830152606081015160608301525050565b50606083015160e08301526080830151610100818185015260a085015191506101206135598186018473ffffffffffffffffffffffffffffffffffffffff169052565b60c086015161014086015260e08601516101608601528186015192506101a091508161018086015261358f6101c08601846132f9565b908601518582037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001838701529092506135c983826132f9565b9695505050505050565b602081526135fa60208201835173ffffffffffffffffffffffffffffffffffffffff169052565b60006020830151613623604084018273ffffffffffffffffffffffffffffffffffffffff169052565b506040830151606083015260608301516080830152608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006136a18185018373ffffffffffffffffffffffffffffffffffffffff81511682526020810151602083015260408101516040830152606081015160608301525050565b84015190506101806136b68482018315159052565b6101208501516101a08501526101408501516101c08501526101608501519150610200806101e08601526136ee6102208601846132f9565b92508186015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0858403018186015250612c1a82826132f9565b604051610120810167ffffffffffffffff8111828210171561374e5761374e613adc565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561379b5761379b613adc565b604052919050565b600067ffffffffffffffff8211156137bd576137bd613adc565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082198211156137fc576137fc613a20565b500190565b600082613837577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600181815b8085111561389557817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111561387b5761387b613a20565b8085161561388857918102915b93841c9390800290613841565b509250929050565b60006122f183836000826138b3575060016122f4565b816138c0575060006122f4565b81600181146138d657600281146138e0576138fc565b60019150506122f4565b60ff8411156138f1576138f1613a20565b50506001821b6122f4565b5060208310610133831016604e8410600b841016171561391f575081810a6122f4565b613929838361383c565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111561395b5761395b613a20565b029392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561399b5761399b613a20565b500290565b6000828210156139b2576139b2613a20565b500390565b60005b838110156139d25781810151838201526020016139ba565b838111156139e1576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a1957613a19613a20565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114613b2d57600080fd5b5056fea2646970667358221220d057582967e2413dd9c0837187c990de8de5f7155e07f0b7716296fc2a966b4264736f6c63430008060033",
    "sourceMap": "864:35648:66:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3417:95;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;18287:25:168;;;18275:2;18260:18;3417:95:66;;;;;;;;25756:2557;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;13457:2948::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;2625:64::-;;;;;;;;12682:42:168;12670:55;;;12652:74;;12640:2;12625:18;2625:64:66;12607:125:168;29368:626:66;;;;;;:::i;:::-;;:::i;17600:4178::-;;;;;;:::i;:::-;;:::i;10404:691::-;;;;;;:::i;:::-;;:::i;6606:222::-;;;;;;:::i;:::-;;:::i;8070:1420::-;;;;;;:::i;:::-;;:::i;2490:48::-;;;;;22454:2657;;;;;;:::i;:::-;;:::i;2760:42::-;;;;;5779:383;;;;;;:::i;:::-;;:::i;4941:137::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28682:280;;;;;;:::i;:::-;;:::i;:::-;;4182:137;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25756:2557;25915:34;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25915:34:66;25951:18;2261:21:144;:19;:21::i;:::-;26057:39:66::1;::::0;;;;::::1;::::0;::::1;18287:25:168::0;;;26057:17:66::1;:27;;::::0;::::1;::::0;18260:18:168;;26057:39:66::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26298:10;26199:35;26237:78:::0;;;:23:::1;:78;::::0;;;;;;;:90;;;;;;;;26328:26;;::::1;::::0;26237:118;;;;;;;;26042:54;;-1:-1:-1;26199:35:66;26237:128:::1;::::0;26358:7;;26237:128:::1;:::i;:::-;26199:166;;26426:28;26456:34:::0;26515:9:::1;:22;;;26538:10;26515:34;;;;;;;;;;;;;18287:25:168::0;;18275:2;18260:18;;18242:76;26515:34:66::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26494:81;;;26585:10;26605:12;:26;;;26671:10;26722;26692:47;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26494:255;::::0;;::::1;::::0;;;;;;::::1;::::0;::::1;18846:25:168::0;;;;18887:18;;;18880:34;;;;18933:42;19011:15;;;18991:18;;;18984:43;19063:15;19043:18;;;19036:43;18818:19;;26494:255:66::1;::::0;::::1;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26425:324;;;;26852:20;26822:27;:50;:79;;;-1:-1:-1::0;26876:25:66;;26822:79:::1;26818:131;;;26916:33;;;;;;;;;;;;;;26818:131;27012:26;26999:9;:39;26995:71;;27047:19;;;;;;;;;;;;;;26995:71;27124:24;27181:10;27151:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27124:79;;27297:16;27284:9;:29;27283:327;;27339:271;27363:7:::0;27380:29:::1;2170:2;27380;:29;:::i;:::-;27531:71;::::0;;;;::::1;::::0;::::1;19301:25:168::0;;;19342:18;;;19335:34;;;2170:2:66::1;19385:18:168::0;;;19378:34;27531:6:66::1;:15;;::::0;::::1;::::0;19274:18:168;;27531:71:66::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27339:14;:271::i;:::-;27283:327;;;27323:7;27283:327;27270:340;;27718:142;27773:10;27794;27814:12;27836:16;27718:15;:142::i;:::-;27699:10;:161;27688:229;;;27874:43;;;;;;;;;;;;;;27688:229;28014:10;27960:66;::::0;;;:23:::1;:66;::::0;;;;;;;:78;;;;;;;;28046:26;;::::1;::::0;27960:118;;;;;;;:148;;;28225:52;;;:9:::1;:52:::0;;;;;:64;;;;;;;:83:::1;::::0;28298:10;;28225:83:::1;:::i;:::-;28192:10;28152:52;::::0;;;:9:::1;:52;::::0;;;;;;;:64;;;;;;;;:156;-1:-1:-1;2303:20:144;;-1:-1:-1;2303:18:144;;-1:-1:-1;;2303:20:144:i;:::-;25756:2557:66;;;;;;:::o;13457:2948::-;13745:34;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13745:34:66;13787:18;13813:23;13844:18;2261:21:144;:19;:21::i;:::-;13961:39:66::1;::::0;;;;::::1;::::0;::::1;18287:25:168::0;;;13961:17:66::1;:27;;::::0;::::1;::::0;18260:18:168;;13961:39:66::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14068:19:::0;;13946:54;;-1:-1:-1;14064:60:66::1;;14101:23;;;;;;;;;;;;;;14064:60;1513:22:105::0;;;;1539:2;1513:28;1545:1;1512:34;;;1511:41;14158:67:66::1;;;14195:30;;;;;;;;;;;;;;14158:67;3130:22:105::0;;;;14345:15:66::1;::::0;3156:2:105;3130:28;3162:1;3129:34;;;:39;14461:677:66::1;;;14572:28;14603:285;;;;;;;;14658:10;14603:285;;;;;;14679:6;14603:285;;;;;;14695:7;14603:285;;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;;::::1;::::0;;;14732:26;::::1;::::0;14603:285;;;;::::1;::::0;::::1;::::0;;;;14790:19:::1;::::0;;::::1;::::0;14603:285;;;;708:22:105;;;;14603:285:66;;;734:2:105;708:28;693:45;;14603:285:66::1;;;;14856:5;;14603:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;;14603:285:66;;;-1:-1:-1;14603:285:66::1;;::::0;;;14572:316;-1:-1:-1;14950:25:66::1;:12:::0;3468:22:105;;;3494:2;3468:28;;3350:153;14950:25:66::1;14924:62;;;14996:5;14924:85;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;14896:113:::0;-1:-1:-1;14896:113:66;-1:-1:-1;14896:113:66;-1:-1:-1;14461:677:66::1;::::0;-1:-1:-1;14461:677:66::1;;15092:12;:19;;;15082:29;;15126:5;;15119:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;15119:12:66;;-1:-1:-1;;;;14461:677:66::1;15220:13;::::0;::::1;;15216:64;;-1:-1:-1::0;15262:1:66::1;::::0;-1:-1:-1;15240:40:66::1;;15216:64;15459:10;15419:52;::::0;;;:9:::1;15492:13;15419:52:::0;;;;;;;:64;;;;;;;;;:86:::1;::::0;15492:13;::::1;;::::0;15419:86:::1;:::i;:::-;15386:10;15346:52;::::0;;;:9:::1;:52;::::0;;;;;;;:64;;;;;;;;:159;15598:12;15594:58:::1;;-1:-1:-1::0;15634:1:66::1;::::0;-1:-1:-1;15612:40:66::1;;15594:58;15770:16;::::0;::::1;;15750:17;16088:16;::::0;::::1;;:39:::0;::::1;:135;;16158:65;::::0;;;;16174:16:::1;::::0;::::1;;16158:65;::::0;::::1;19301:25:168::0;19342:18;;;19335:34;;;19385:18;;;19378:34;;;16158:15:66::1;:6;:15;::::0;::::1;::::0;19274:18:168;;16158:65:66::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16088:135;;;16136:13;16140:9:::0;16136:2:::1;:13;:::i;:::-;16065:158;;16348:52;16363:7;:13;;;16378:7;16387:12;16348:14;:52::i;:::-;16335:65;;13871:2534;;;2292:1:144;2303:20:::0;1716:1;2809:7;:22;2629:209;2303:20;13457:2948:66;;;;;;;;;;;;;:::o;29368:626::-;29469:15;2261:21:144;:19;:21::i;:::-;29595:39:66::1;::::0;;;;::::1;::::0;::::1;18287:25:168::0;;;29557:35:66::1;::::0;29595:17:::1;:27;;::::0;::::1;::::0;18260:18:168;;29595:39:66::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2458:22:105::0;;;;29557:77:66;;-1:-1:-1;2484:2:105;2458:28;2490:1;2457:34;;;2456:41;29675:94:66::1;;29729:40;;;;;;;;;;;;;;29675:94;-1:-1:-1::0;;29861:10:66::1;29821:52;::::0;;;:9:::1;:52;::::0;;;;;;;:64;;;;;;;;;;29921:68;;;;2809:22:144;;29368:626:66;;;:::o;2303:20:144:-;29368:626:66;;;:::o;17600:4178::-;17819:34;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17819:34:66;17861:21;17890:30;17928:18;2261:21:144;:19;:21::i;:::-;18039:39:66::1;::::0;;;;::::1;::::0;::::1;18287:25:168::0;;;18039:17:66::1;:27;;::::0;::::1;::::0;18260:18:168;;18039:39:66::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1822:22:105::0;;;;18024:54:66;;-1:-1:-1;1848:2:105;1822:28;1854:1;1821:34;;;1820:41;18138:69:66::1;;;18178:29;;;;;;;;;;;;;;18138:69;18470:42;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18470:42:66::1;18520:24;18552:20:::0;18764:14:::1;18811:10;18781:47;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18764:66;;18896:17;18946:10;18916:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18896:72;;19033:17;19083:10;19053:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2973:22:105::0;;;;19033:72:66;;-1:-1:-1;2999:2:105;2973:28;3005:1;2972:34;;;2971:41;19344:283:66::1;;19472:155;19531:10;19556;19580:12;19606:9;19472:15;:155::i;:::-;19344:283;;;19402:57;19426:10;19438:9;19449;19402:23;:57::i;:::-;19325:302;;19732:9;:22;;;19755:10;19732:34;;;;;;;;;;;;;18287:25:168::0;;18275:2;18260:18;;18242:76;19732:34:66::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19718:74;;;19804:10;19826:27;:12;708:22:105::0;;;693:45;734:2;708:28;;;;693:45;;589:154;19826:27:66::1;19718:145;::::0;;::::1;::::0;;;;;;::::1;::::0;::::1;18497:25:168::0;;;;18538:18;;;18531:34;18470:18;;19718:145:66::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19703:160;;19951:12;19937:11;:26;19933:60;;;19972:21;;;;;;;;;;;;;;19933:60;20008:20:::0;;20004:294:::1;;20129:169;20169:10;20193:12;20219:11;20244:12;20270:16;20129:26;:169::i;:::-;20113:185;;20004:294;20333:58;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;3303:22:105;;;;20333:58:66;;-1:-1:-1;3329:2:105;3303:28;3335:1;3302:34;;;:39;20510:776:66::1;;;20628:31;20662:451;;;;;;;;20722:10;20662:451;;;;;;20745:7;20662:451;;;;;;20764:10;20662:451;;;;20786:12;:26;;;20662:451;;;;20824:11;20662:451;;;;20847:12;20662:451;;;;20871:16;20662:451;;;;20899:21;20662:451;;;;20932:45;:12;2973:22:105::0;;;3005:1;2999:2;2973:28;;;;2972:34;;2971:41;;2838:179;20932:45:66::1;20662:451;;;;;;20989:29;:12;:27;:29::i;:::-;20662:451;;;;21030:35;:12;:33;:35::i;:::-;20662:451;;;;21077:5;20662:451;;;;21094:9;20662:451;;::::0;20628:485:::1;;21183:25;:12;3468:22:105::0;;;3494:2;3468:28;;3350:153;21183:25:66::1;21157:76;;;21234:5;21157:83;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;21123:117:::0;;-1:-1:-1;21123:117:66;;-1:-1:-1;21123:117:66;-1:-1:-1;20510:776:66::1;::::0;-1:-1:-1;20510:776:66::1;;21272:5;21265:12;;20510:776;-1:-1:-1::0;;21430:10:66::1;21390:52;::::0;;;:9:::1;:52;::::0;;;;;;;:64;;;;;;;;;21374:80;::::1;21370:142;::::0;-1:-1:-1;21370:142:66::1;;21469:43;;;;;;;;;;;;;;21370:142;21585:17:::0;;21581:192:::1;;21725:10;21685:52;::::0;;;:9:::1;:52;::::0;;;;;;;:64;;;;;;;;;:88:::1;::::0;21760:13;;21685:88:::1;:::i;:::-;21650:10;21610:52;::::0;;;:9:::1;:52;::::0;;;;;;;:64;;;;;;;;:163;21581:192:::1;2303:20:144::0;1716:1;2809:7;:22;2629:209;2303:20;17600:4178:66;;;;;;;;;;:::o;10404:691::-;10576:7;10659:14;10655:28;;-1:-1:-1;10682:1:66;10675:8;;10655:28;10763:12;10749:11;:26;10745:40;;;-1:-1:-1;10784:1:66;10777:8;;10745:40;10893:39;;;;;;;;18287:25:168;;;10855:35:66;;10893:17;:27;;;;;18260:18:168;;10893:39:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10855:77;;10999:91;11026:10;11038:13;11053:11;11066:12;11080:9;10999:26;:91::i;:::-;10986:104;;;10404:691;;;;;;;:::o;6606:222::-;6744:7;6766:57;6790:10;6802:9;6813;6766:23;:57::i;:::-;6759:64;;6606:222;;;;;;:::o;8070:1420::-;8382:39;;;;;;;;18287:25:168;;;8266:7:66;;;;8382:27;:17;:27;;;;18260:18:168;;8382:39:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8344:77;;8634:24;8661:17;:189;;8775:75;8791:9;8802:10;8814:13;8829:9;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8775:15;:75::i;:::-;8661:189;;;8687:79;8711:10;8723:9;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8745:9;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8687:23;:79::i;:::-;8634:216;-1:-1:-1;8925:21:66;8921:35;;8955:1;8948:8;;;;;;8921:35;9061:34;;;;;;;;18287:25:168;;;9024:20:66;;9061:9;:22;;;;;18260:18:168;;9061:34:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9047:81;;;9129:10;9141:28;:13;708:22:105;;;693:45;734:2;708:28;;;;693:45;;589:154;9141:28:66;9047:123;;;;;;;;;;;;;18497:25:168;;;;18538:18;;;18531:34;18470:18;;9047:123:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9024:146;;9250:12;9236:11;:26;9232:40;;;9271:1;9264:8;;;;;;;9232:40;9339:146;9375:10;9395:13;9418:11;9439:12;9461:16;9339:26;:146::i;:::-;9326:159;8070:1420;-1:-1:-1;;;;;;;;8070:1420:66:o;22454:2657::-;22613:34;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22613:34:66;22649:25;2261:21:144;:19;:21::i;:::-;22762:39:66::1;::::0;;;;::::1;::::0;::::1;18287:25:168::0;;;22762:17:66::1;:27;;::::0;::::1;::::0;18260:18:168;;22762:39:66::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1671:22:105::0;;;;22747:54:66;;-1:-1:-1;1697:2:105;1671:28;1703:1;1670:34;;;1669:41;22886:82:66::1;;;22933:35;;;;;;;;;;;;;;22886:82;23155:10;23056:35;23094:78:::0;;;:23:::1;:78;::::0;;;;;;;:90;;;;;;;;23185:19;;23094:111;;;;;;;;:121:::1;::::0;23208:7;;23094:121:::1;:::i;:::-;23056:159;;23281:28;23311:36:::0;23372:9:::1;:22;;;23395:10;23372:34;;;;;;;;;;;;;18287:25:168::0;;18275:2;18260:18;;18242:76;23372:34:66::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23351:81;;;23442:10;23462:12;:26;;;23528:10;23579;23549:47;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23351:255;::::0;;::::1;::::0;;;;;;::::1;::::0;::::1;18846:25:168::0;;;;18887:18;;;18880:34;;;;18933:42;19011:15;;;18991:18;;;18984:43;19063:15;19043:18;;;19036:43;18818:19;;23351:255:66::1;::::0;::::1;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23280:326;;;;23718:20;23688:27;:50;:79;;;-1:-1:-1::0;23742:25:66;;23688:79:::1;23684:133;;;23782:35;;;;;;;;;;;;;;23684:133;23880:28;23867:9;:41;23863:73;;23917:19;;;;;;;;;;;;;;23863:73;23994:24;24051:10;24021:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23994:79;;24167:16;24154:9;:29;24153:327;;24209:271;24233:7:::0;24250:29:::1;2170:2;24250;:29;:::i;24209:271::-;24153:327;;;24193:7;24153:327;24606:10;24566:52;::::0;;;:9:::1;:52;::::0;;;;;;;:64;;;;;;;;;24133:347;;-1:-1:-1;24546:84:66;::::1;24542:146;;;24645:43;;;;;;;;;;;;;;24542:146;24778:10;24724:66;::::0;;;:23:::1;:66;::::0;;;;;;;:78;;;;;;;;24810:19;;24724:111;;;;;;;:141;;;25016:52;;;:9:::1;:52:::0;;;;;:64;;;;;;;:90:::1;::::0;25089:17;;25016:90:::1;:::i;5779:383::-:0;5915:7;6016:141;6041:9;6060:10;6080:17;:27;;;6108:10;6080:39;;;;;;;;;;;;;18287:25:168;;18275:2;18260:18;;18242:76;6080:39:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6129:9;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6016:141;6003:154;;5779:383;;;;;:::o;28682:280::-;28917:10;28877:52;;;;:9;:52;;;;;;;;:64;;;;;;;;;:80;;28950:7;;28877:80;:::i;:::-;28844:10;28804:52;;;;:9;:52;;;;;;;;:64;;;;;;;;;;:153;;;;-1:-1:-1;28682:280:66:o;2336:287:144:-;1759:1;2468:7;;:19;;2460:63;;;;;;;13450:2:168;2460:63:144;;;13432:21:168;13489:2;13469:18;;;13462:30;13528:33;13508:18;;;13501:61;13579:18;;2460:63:144;;;;;;;;;1759:1;2598:7;:18;2336:287::o;15079:3983:127:-;15191:14;;;15683:6;15680:1;15677;15670:20;15719:1;15716;15712:9;15703:18;;15770:5;15766:2;15763:13;15755:5;15751:2;15747:14;15743:34;15734:43;;;15860:5;15869:1;15860:10;15856:138;;;15931:11;15923:5;:19;;;;;:::i;:::-;;15914:28;;15970:13;;;;15856:138;16101:11;16092:5;:20;16088:101;;16135:43;;;;;;;;18497:25:168;;;18538:18;;;18531:34;;;18470:18;;16135:43:127;18452:119:168;16088:101:127;16424:17;16547:11;16544:1;16541;16534:25;17956:1;17093;17078:12;;:16;;17063:32;;17201:25;;;;17937:1;:15;;17936:21;;18189;;;18185:25;;18174:36;18258:21;;;18254:25;;18243:36;18328:21;;;18324:25;;18313:36;18398:21;;;18394:25;;18383:36;18468:21;;;18464:25;;18453:36;18539:21;;;18535:25;;;18524:36;;;17045:15;17467;;;17463:29;;;17459:37;;;16653:20;;;16642:32;;;17585:15;;;;16696:21;;17305:19;;;;17576:24;;;;19003:15;;;-1:-1:-1;;;;15079:3983:127:o;33136:1640:66:-;33410:20;;;33327:7;33410:20;;;:9;:20;;;;;;;;:32;;;;;;;;;33504:15;33500:29;;33528:1;33521:8;;;;;33500:29;33699:34;;;;;;;;18287:25:168;;;33612:26:66;;;;33699:22;:9;:22;;;;18260:18:168;;33699:34:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33678:81;;;33760:10;33772:13;:27;;;33801:9;33812;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33678:152;;;;;;;;;;;;;18846:25:168;;;;18887:18;;;18880:34;;;;18933:42;19011:15;;;18991:18;;;18984:43;19063:15;19043:18;;;19036:43;18818:19;;33678:152:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33985:34;;;33920:35;33985:34;;;:23;:34;;;;;;;;:46;;;;;;;;34032:20;;33985:68;;;;;;;;33611:219;;-1:-1:-1;33611:219:66;;-1:-1:-1;33920:35:66;33958:95;;33611:219;33958:95;:::i;:::-;33920:133;-1:-1:-1;34147:32:66;;;;;:82;;;34213:16;34183:26;:46;;34147:82;34143:432;;;34267:308;34291:27;34328:29;2170:2;34328;:29;:::i;:::-;34479:88;;;;;;;;19301:25:168;;;19342:18;;;19335:34;;;2170:2:66;19385:18:168;;;19378:34;34479:6:66;:15;;;;;19274:18:168;;34479:88:66;19256:162:168;34267:308:66;34237:338;;34143:432;34697:27;34684:10;:40;:87;;34770:1;34684:87;;;34727:40;34740:27;34727:10;:40;:::i;:::-;34677:94;33136:1640;-1:-1:-1;;;;;;;;;33136:1640:66:o;2629:209:144:-;1716:1;2809:7;:22;2629:209::o;35351:1159:66:-;35587:33;;;;;;;;18287:25:168;;;35480:7:66;;;;35587:21;:9;:21;;;;18260:18:168;;35587:33:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35546:74;-1:-1:-1;35735:20:66;;35817:134;35843:10;:17;35838:2;:22;35817:134;;;35904:10;35915:2;35904:14;;;;;;;;:::i;:::-;;;;;;;:35;;;35940:10;35904:47;;;;;;;;;;;;;18287:25:168;;18275:2;18260:18;;18242:76;35904:47:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35889:62;;:12;:62;:::i;:::-;35874:77;-1:-1:-1;35862:4:66;;;;:::i;:::-;;;;35817:134;;;;36078:31;112:1:103;36112:9:66;:29;:145;;36208:48;;;;;112:1:103;36208:48:66;;;19301:25:168;19342:18;;;19335:34;;;36253:2:66;19385:18:168;;;19378:34;36171:86:66;;36186:12;;36200:6;;36208:15;:6;:15;;;;19274:18:168;;36208:48:66;19256:162:168;36171:86:66;36112:145;;;36150:12;36112:145;36078:179;;36371:9;36384:2;36371:15;36370:135;;36432:73;36466:23;36491:2;36495:9;36432:33;:73::i;:::-;36370:135;;;36398:23;36370:135;36357:148;35351:1159;-1:-1:-1;;;;;;;35351:1159:66:o;31088:1384::-;31289:7;31413:12;31398:11;:27;31394:49;;;-1:-1:-1;31434:9:66;31427:16;;31394:49;31578:23;;31604:50;;;;;;;;18287:25:168;;;31604:17:66;:38;;;;;18260:18:168;;31604:50:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;;;;;;:::i;:::-;;:164;;31738:30;:13;:28;:30::i;:::-;31604:164;;;31693:36;:13;:34;:36::i;:::-;31578:190;-1:-1:-1;31837:20:66;31833:34;;31866:1;31859:8;;;;;31833:34;31923:13;31939:52;31954:9;31965:11;31978:12;31939:14;:52::i;:::-;31923:68;;248:5:102;32127:15:66;:50;32123:68;;;32186:5;-1:-1:-1;32179:12:66;;-1:-1:-1;32179:12:66;32123:68;32211:256;32235:5;32278:140;32306:11;32331:49;32365:15;248:5:102;32331:49:66;:::i;:::-;32394:12;32278:14;:140::i;:::-;32250:168;;:15;:168;:::i;:::-;248:5:102;32211:14:66;:256::i;:::-;32198:269;;;;31088:1384;;;;;;;;:::o;747:319:105:-;831:7;1057:2;1031:13;:22;;;:28;;1016:45;;248:5:102;982:79:105;;;;:::i;1070:339::-;1172:7;1400:2;1374:13;:22;;;:28;;1359:45;;248:5:102;1325:79:105;;;;:::i;88:461:104:-;211:7;367:9;348:15;:28;344:200;;;-1:-1:-1;385:6:104;378:13;;344:200;424:9;406:15;:27;402:142;;;456:27;474:9;456:15;:27;:::i;:::-;451:33;;:2;:33;:::i;:::-;442:42;;:6;:42;:::i;:::-;435:49;;;;402:142;516:27;528:15;516:9;:27;:::i;:::-;511:33;;:2;:33;:::i;:::-;502:42;;:6;:42;:::i;14:336:168:-;78:5;107:52;123:35;151:6;123:35;:::i;:::-;107:52;:::i;:::-;98:61;;182:6;175:5;168:21;222:3;213:6;208:3;204:16;201:25;198:2;;;239:1;236;229:12;198:2;288:6;283:3;276:4;269:5;265:16;252:43;342:1;335:4;326:6;319:5;315:18;311:29;304:40;88:262;;;;;:::o;355:220::-;397:5;450:3;443:4;435:6;431:17;427:27;417:2;;468:1;465;458:12;417:2;490:79;565:3;556:6;543:20;536:4;528:6;524:17;490:79;:::i;580:161::-;682:13;;704:31;682:13;704:31;:::i;746:348::-;798:8;808:6;862:3;855:4;847:6;843:17;839:27;829:2;;880:1;877;870:12;829:2;-1:-1:-1;903:20:168;;946:18;935:30;;932:2;;;978:1;975;968:12;932:2;1015:4;1007:6;1003:17;991:29;;1067:3;1060:4;1051:6;1043;1039:19;1035:30;1032:39;1029:2;;;1084:1;1081;1074:12;1029:2;819:275;;;;;:::o;1099:429::-;1153:5;1206:3;1199:4;1191:6;1187:17;1183:27;1173:2;;1224:1;1221;1214:12;1173:2;1253:6;1247:13;1284:48;1300:31;1328:2;1300:31;:::i;1284:48::-;1357:2;1348:7;1341:19;1403:3;1396:4;1391:2;1383:6;1379:15;1375:26;1372:35;1369:2;;;1420:1;1417;1410:12;1369:2;1433:64;1494:2;1487:4;1478:7;1474:18;1467:4;1459:6;1455:17;1433:64;:::i;1533:251::-;1603:6;1656:2;1644:9;1635:7;1631:23;1627:32;1624:2;;;1672:1;1669;1662:12;1624:2;1704:9;1698:16;1723:31;1748:5;1723:31;:::i;1789:1271::-;1957:6;1965;1973;1981;1989;1997;2005;2013;2057:9;2048:7;2044:23;2087:3;2083:2;2079:12;2076:2;;;2104:1;2101;2094:12;2076:2;2143:9;2130:23;2162:31;2187:5;2162:31;:::i;:::-;2212:5;-1:-1:-1;2310:3:168;2241:66;2233:75;;2229:85;2226:2;;;2327:1;2324;2317:12;2226:2;;2365;2354:9;2350:18;2340:28;;2415:3;2404:9;2400:19;2387:33;2377:43;;2467:3;2456:9;2452:19;2439:33;2429:43;;2524:3;2513:9;2509:19;2496:33;2538;2563:7;2538:33;:::i;:::-;2590:7;-1:-1:-1;2648:3:168;2633:19;;2620:33;2672:18;2702:14;;;2699:2;;;2729:1;2726;2719:12;2699:2;2768:59;2819:7;2810:6;2799:9;2795:22;2768:59;:::i;:::-;2846:8;;-1:-1:-1;2742:85:168;-1:-1:-1;2934:3:168;2919:19;;2906:33;;-1:-1:-1;2951:16:168;;;2948:2;;;2980:1;2977;2970:12;2948:2;;3003:51;3046:7;3035:8;3024:9;3020:24;3003:51;:::i;:::-;2993:61;;;2024:1036;;;;;;;;;;;:::o;3065:942::-;3179:6;3187;3195;3203;3211;3264:3;3252:9;3243:7;3239:23;3235:33;3232:2;;;3281:1;3278;3271:12;3232:2;3320:9;3307:23;3339:31;3364:5;3339:31;:::i;:::-;3389:5;-1:-1:-1;3441:2:168;3426:18;;3413:32;;-1:-1:-1;3492:2:168;3477:18;;3464:32;;-1:-1:-1;3547:2:168;3532:18;;3519:32;3570:18;3600:14;;;3597:2;;;3627:1;3624;3617:12;3597:2;3665:6;3654:9;3650:22;3640:32;;3710:7;3703:4;3699:2;3695:13;3691:27;3681:2;;3732:1;3729;3722:12;3681:2;3755:73;3820:7;3815:2;3802:16;3797:2;3793;3789:11;3755:73;:::i;:::-;3745:83;;3881:3;3870:9;3866:19;3853:33;3837:49;;3911:2;3901:8;3898:16;3895:2;;;3927:1;3924;3917:12;3895:2;;3950:51;3993:7;3982:8;3971:9;3967:24;3950:51;:::i;:::-;3940:61;;;3222:785;;;;;;;;:::o;4012:1050::-;4135:6;4166:2;4209;4197:9;4188:7;4184:23;4180:32;4177:2;;;4225:1;4222;4215:12;4177:2;4258:9;4252:16;4287:18;4328:2;4320:6;4317:14;4314:2;;;4344:1;4341;4334:12;4314:2;4382:6;4371:9;4367:22;4357:32;;4427:7;4420:4;4416:2;4412:13;4408:27;4398:2;;4449:1;4446;4439:12;4398:2;4478;4472:9;4500:2;4496;4493:10;4490:2;;;4506:18;;:::i;:::-;4552:2;4549:1;4545:10;4535:20;;4575:28;4599:2;4595;4591:11;4575:28;:::i;:::-;4637:15;;;4668:12;;;;4700:11;;;4730;;;4726:20;;4723:33;-1:-1:-1;4720:2:168;;;4769:1;4766;4759:12;4720:2;4791:1;4782:10;;4801:231;4815:2;4812:1;4809:9;4801:231;;;4879:3;4873:10;4860:23;;4896:31;4921:5;4896:31;:::i;:::-;4940:18;;;4833:1;4826:9;;;;;4978:12;;;;5010;;4801:231;;;-1:-1:-1;5051:5:168;4146:916;-1:-1:-1;;;;;;;;4146:916:168:o;5067:354::-;5174:6;5182;5235:2;5223:9;5214:7;5210:23;5206:32;5203:2;;;5251:1;5248;5241:12;5203:2;5290:9;5277:23;5309:31;5334:5;5309:31;:::i;:::-;5359:5;5411:2;5396:18;;;;5383:32;;-1:-1:-1;;;5193:228:168:o;5426:422::-;5542:6;5550;5558;5611:2;5599:9;5590:7;5586:23;5582:32;5579:2;;;5627:1;5624;5617:12;5579:2;5666:9;5653:23;5685:31;5710:5;5685:31;:::i;:::-;5735:5;5787:2;5772:18;;5759:32;;-1:-1:-1;5838:2:168;5823:18;;;5810:32;;5569:279;-1:-1:-1;;;5569:279:168:o;5853:592::-;5975:6;5983;5991;5999;6052:3;6040:9;6031:7;6027:23;6023:33;6020:2;;;6069:1;6066;6059:12;6020:2;6108:9;6095:23;6127:31;6152:5;6127:31;:::i;:::-;6177:5;-1:-1:-1;6229:2:168;6214:18;;6201:32;;-1:-1:-1;6280:2:168;6265:18;;6252:32;;-1:-1:-1;6336:2:168;6321:18;;6308:32;6378:15;;6371:23;6359:36;;6349:2;;6409:1;6406;6399:12;6349:2;6010:435;;;;-1:-1:-1;6010:435:168;;-1:-1:-1;;6010:435:168:o;6450:279::-;6539:6;6592:2;6580:9;6571:7;6567:23;6563:32;6560:2;;;6608:1;6605;6598:12;6560:2;6640:9;6634:16;6679:1;6672:5;6669:12;6659:2;;6695:1;6692;6685:12;6734:832;6837:6;6890:3;6878:9;6869:7;6865:23;6861:33;6858:2;;;6907:1;6904;6897:12;6858:2;6933:22;;:::i;:::-;6984:9;6978:16;6971:5;6964:31;7048:2;7037:9;7033:18;7027:25;7022:2;7015:5;7011:14;7004:49;7106:2;7095:9;7091:18;7085:25;7080:2;7073:5;7069:14;7062:49;7164:2;7153:9;7149:18;7143:25;7138:2;7131:5;7127:14;7120:49;7223:3;7212:9;7208:19;7202:26;7196:3;7189:5;7185:15;7178:51;7283:3;7272:9;7268:19;7262:26;7256:3;7249:5;7245:15;7238:51;7343:3;7332:9;7328:19;7322:26;7316:3;7309:5;7305:15;7298:51;7382:73;7450:3;7439:9;7435:19;7382:73;:::i;:::-;7376:3;7365:15;;7358:98;7475:3;7516:18;;;7510:25;7494:14;;;7487:49;;;;-1:-1:-1;7369:5:168;6848:718;-1:-1:-1;6848:718:168:o;7571:712::-;7662:6;7715:3;7703:9;7694:7;7690:23;7686:33;7683:2;;;7732:1;7729;7722:12;7683:2;7765;7759:9;7807:3;7799:6;7795:16;7877:6;7865:10;7862:22;7841:18;7829:10;7826:34;7823:62;7820:2;;;7888:18;;:::i;:::-;7924:2;7917:22;7961:23;;7993:31;7961:23;7993:31;:::i;:::-;8048:5;8040:6;8033:21;;8115:2;8104:9;8100:18;8087:32;8082:2;8074:6;8070:15;8063:57;8181:2;8170:9;8166:18;8153:32;8148:2;8140:6;8136:15;8129:57;8247:2;8236:9;8232:18;8219:32;8214:2;8206:6;8202:15;8195:57;8271:6;8261:16;;;7673:610;;;;:::o;8288:180::-;8347:6;8400:2;8388:9;8379:7;8375:23;8371:32;8368:2;;;8416:1;8413;8406:12;8368:2;-1:-1:-1;8439:23:168;;8358:110;-1:-1:-1;8358:110:168:o;8473:184::-;8543:6;8596:2;8584:9;8575:7;8571:23;8567:32;8564:2;;;8612:1;8609;8602:12;8564:2;-1:-1:-1;8635:16:168;;8554:103;-1:-1:-1;8554:103:168:o;8662:550::-;8784:6;8792;8800;8853:2;8841:9;8832:7;8828:23;8824:32;8821:2;;;8869:1;8866;8859:12;8821:2;8898:9;8892:16;8882:26;;8952:2;8941:9;8937:18;8931:25;8979:18;8971:6;8968:30;8965:2;;;9011:1;9008;9001:12;8965:2;9034:61;9087:7;9078:6;9067:9;9063:22;9034:61;:::i;:::-;9024:71;;;9138:2;9127:9;9123:18;9117:25;9151:31;9176:5;9151:31;:::i;:::-;9201:5;9191:15;;;8811:401;;;;;:::o;9779:248::-;9847:6;9855;9908:2;9896:9;9887:7;9883:23;9879:32;9876:2;;;9924:1;9921;9914:12;9876:2;-1:-1:-1;;9947:23:168;;;10017:2;10002:18;;;9989:32;;-1:-1:-1;9866:161:168:o;10032:245::-;10111:6;10119;10172:2;10160:9;10151:7;10147:23;10143:32;10140:2;;;10188:1;10185;10178:12;10140:2;-1:-1:-1;;10211:16:168;;10267:2;10252:18;;;10246:25;10211:16;;10246:25;;-1:-1:-1;10130:147:168:o;10282:316::-;10359:6;10367;10375;10428:2;10416:9;10407:7;10403:23;10399:32;10396:2;;;10444:1;10441;10434:12;10396:2;-1:-1:-1;;10467:23:168;;;10537:2;10522:18;;10509:32;;-1:-1:-1;10588:2:168;10573:18;;;10560:32;;10386:212;-1:-1:-1;10386:212:168:o;10603:385::-;10689:6;10697;10705;10713;10766:3;10754:9;10745:7;10741:23;10737:33;10734:2;;;10783:1;10780;10773:12;10734:2;-1:-1:-1;;10806:23:168;;;10876:2;10861:18;;10848:32;;-1:-1:-1;10927:2:168;10912:18;;10899:32;;10978:2;10963:18;10950:32;;-1:-1:-1;10724:264:168;-1:-1:-1;10724:264:168:o;11221:316::-;11262:3;11300:5;11294:12;11327:6;11322:3;11315:19;11343:63;11399:6;11392:4;11387:3;11383:14;11376:4;11369:5;11365:16;11343:63;:::i;:::-;11451:2;11439:15;11456:66;11435:88;11426:98;;;;11526:4;11422:109;;11270:267;-1:-1:-1;;11270:267:168:o;13608:342::-;13836:3;13821:19;;13849:51;13825:9;13882:6;11628:5;11622:12;11617:3;11610:25;11684:4;11677:5;11673:16;11667:23;11660:4;11655:3;11651:14;11644:47;11740:4;11733:5;11729:16;11723:23;11716:4;11711:3;11707:14;11700:47;11796:4;11789:5;11785:16;11779:23;11772:4;11767:3;11763:14;11756:47;11852:4;11845:5;11841:16;11835:23;11828:4;11823:3;11819:14;11812:47;11908:4;11901:5;11897:16;11891:23;11884:4;11879:3;11875:14;11868:47;11964:4;11957:5;11953:16;11947:23;11940:4;11935:3;11931:14;11924:47;12032:42;12024:4;12017:5;12013:16;12007:23;12003:72;11996:4;11991:3;11987:14;11980:96;12095:6;12148:2;12141:5;12137:14;12131:21;12126:2;12121:3;12117:12;12110:43;;11600:559;;;13849:51;13937:6;13931:3;13920:9;13916:19;13909:35;13803:147;;;;;:::o;13955:622::-;14241:4;14270:3;14282:51;14323:9;14315:6;11628:5;11622:12;11617:3;11610:25;11684:4;11677:5;11673:16;11667:23;11660:4;11655:3;11651:14;11644:47;11740:4;11733:5;11729:16;11723:23;11716:4;11711:3;11707:14;11700:47;11796:4;11789:5;11785:16;11779:23;11772:4;11767:3;11763:14;11756:47;11852:4;11845:5;11841:16;11835:23;11828:4;11823:3;11819:14;11812:47;11908:4;11901:5;11897:16;11891:23;11884:4;11879:3;11875:14;11868:47;11964:4;11957:5;11953:16;11947:23;11940:4;11935:3;11931:14;11924:47;12032:42;12024:4;12017:5;12013:16;12007:23;12003:72;11996:4;11991:3;11987:14;11980:96;12095:6;12148:2;12141:5;12137:14;12131:21;12126:2;12121:3;12117:12;12110:43;;11600:559;;;14282:51;14370:6;14364:3;14353:9;14349:19;14342:35;14426:42;14418:6;14414:55;14408:3;14397:9;14393:19;14386:84;14507:2;14501:3;14490:9;14486:19;14479:31;14527:44;14567:2;14556:9;14552:18;14544:6;14527:44;:::i;15216:1372::-;15413:2;15402:9;15395:21;15425:53;15474:2;15463:9;15459:18;15450:6;15444:13;11070:42;11059:54;11047:67;;11037:83;15425:53;15376:4;15525:2;15517:6;15513:15;15507:22;15538:52;15586:2;15575:9;15571:18;15557:12;11070:42;11059:54;11047:67;;11037:83;15538:52;;15639:2;15631:6;15627:15;15621:22;15652:67;15715:2;15704:9;15700:18;15684:14;12261:42;12253:5;12247:12;12243:61;12238:3;12231:74;12354:4;12347:5;12343:16;12337:23;12330:4;12325:3;12321:14;12314:47;12410:4;12403:5;12399:16;12393:23;12386:4;12381:3;12377:14;12370:47;12466:4;12459:5;12455:16;12449:23;12442:4;12437:3;12433:14;12426:47;12221:258;;;15652:67;;15774:2;15766:6;15762:15;15756:22;15750:3;15739:9;15735:19;15728:51;15816:4;15808:6;15804:17;15798:24;15841:3;15880:2;15875;15864:9;15860:18;15853:30;15932:4;15924:6;15920:17;15914:24;15892:46;;15957:3;15969:54;16019:2;16008:9;16004:18;15988:14;11070:42;11059:54;11047:67;;11037:83;15969:54;16078:4;16070:6;16066:17;16060:24;16054:3;16043:9;16039:19;16032:53;16140:3;16132:6;16128:16;16122:23;16116:3;16105:9;16101:19;16094:52;16195:2;16187:6;16183:15;16177:22;16155:44;;16218:6;16208:16;;16261:2;16255:3;16244:9;16240:19;16233:31;16287:53;16335:3;16324:9;16320:19;16304:14;16287:53;:::i;:::-;16377:15;;;16371:22;16433;;;16457:66;16429:95;16409:18;;;16402:123;16273:67;;-1:-1:-1;16542:40:168;16273:67;16371:22;16542:40;:::i;:::-;16534:48;15385:1203;-1:-1:-1;;;;;;15385:1203:168:o;16593:1543::-;16796:2;16785:9;16778:21;16808:53;16857:2;16846:9;16842:18;16833:6;16827:13;11070:42;11059:54;11047:67;;11037:83;16808:53;16759:4;16908:2;16900:6;16896:15;16890:22;16921:52;16969:2;16958:9;16954:18;16940:12;11070:42;11059:54;11047:67;;11037:83;16921:52;;17027:2;17019:6;17015:15;17009:22;17004:2;16993:9;16989:18;16982:50;17087:2;17079:6;17075:15;17069:22;17063:3;17052:9;17048:19;17041:51;17147:3;17139:6;17135:16;17129:23;17123:3;17112:9;17108:19;17101:52;17208:3;17200:6;17196:16;17190:23;17184:3;17173:9;17169:19;17162:52;17269:3;17261:6;17257:16;17251:23;17245:3;17234:9;17230:19;17223:52;17324:3;17316:6;17312:16;17306:23;17348:3;17360:67;17423:2;17412:9;17408:18;17392:14;12261:42;12253:5;12247:12;12243:61;12238:3;12231:74;12354:4;12347:5;12343:16;12337:23;12330:4;12325:3;12321:14;12314:47;12410:4;12403:5;12399:16;12393:23;12386:4;12381:3;12377:14;12370:47;12466:4;12459:5;12455:16;12449:23;12442:4;12437:3;12433:14;12426:47;12221:258;;;17360:67;17464:15;;17458:22;;-1:-1:-1;17499:3:168;17511:51;17543:18;;;17458:22;11195:13;11188:21;11176:34;;11166:50;17511:51;17617:6;17609;17605:19;17599:26;17593:3;17582:9;17578:19;17571:55;17681:6;17673;17669:19;17663:26;17657:3;17646:9;17642:19;17635:55;17739:6;17731;17727:19;17721:26;17699:48;;17766:6;17809:2;17803:3;17792:9;17788:19;17781:31;17835:53;17883:3;17872:9;17868:19;17852:14;17835:53;:::i;:::-;17821:67;;17937:2;17929:6;17925:15;17919:22;17897:44;;18005:66;17993:9;17985:6;17981:22;17977:95;17972:2;17961:9;17957:18;17950:123;;18090:40;18123:6;18107:14;18090:40;:::i;19747:252::-;19819:2;19813:9;19861:3;19849:16;;19895:18;19880:34;;19916:22;;;19877:62;19874:2;;;19942:18;;:::i;:::-;19978:2;19971:22;19793:206;:::o;20004:334::-;20075:2;20069:9;20131:2;20121:13;;20136:66;20117:86;20105:99;;20234:18;20219:34;;20255:22;;;20216:62;20213:2;;;20281:18;;:::i;:::-;20317:2;20310:22;20049:289;;-1:-1:-1;20049:289:168:o;20343:245::-;20391:4;20424:18;20416:6;20413:30;20410:2;;;20446:18;;:::i;:::-;-1:-1:-1;20503:2:168;20491:15;20508:66;20487:88;20577:4;20483:99;;20400:188::o;20593:128::-;20633:3;20664:1;20660:6;20657:1;20654:13;20651:2;;;20670:18;;:::i;:::-;-1:-1:-1;20706:9:168;;20641:80::o;20726:274::-;20766:1;20792;20782:2;;20827:77;20824:1;20817:88;20928:4;20925:1;20918:15;20956:4;20953:1;20946:15;20782:2;-1:-1:-1;20985:9:168;;20772:228::o;21005:482::-;21094:1;21137:5;21094:1;21151:330;21172:7;21162:8;21159:21;21151:330;;;21291:4;21223:66;21219:77;21213:4;21210:87;21207:2;;;21300:18;;:::i;:::-;21350:7;21340:8;21336:22;21333:2;;;21370:16;;;;21333:2;21449:22;;;;21409:15;;;;21151:330;;;21155:3;21069:418;;;;;:::o;21492:131::-;21552:5;21581:36;21608:8;21602:4;21677:5;21707:8;21697:2;;-1:-1:-1;21748:1:168;21762:5;;21697:2;21796:4;21786:2;;-1:-1:-1;21833:1:168;21847:5;;21786:2;21878:4;21896:1;21891:59;;;;21964:1;21959:130;;;;21871:218;;21891:59;21921:1;21912:10;;21935:5;;;21959:130;21996:3;21986:8;21983:17;21980:2;;;22003:18;;:::i;:::-;-1:-1:-1;;22059:1:168;22045:16;;22074:5;;21871:218;;22173:2;22163:8;22160:16;22154:3;22148:4;22145:13;22141:36;22135:2;22125:8;22122:16;22117:2;22111:4;22108:12;22104:35;22101:77;22098:2;;;-1:-1:-1;22210:19:168;;;22242:5;;22098:2;22289:34;22314:8;22308:4;22289:34;:::i;:::-;22419:6;22351:66;22347:79;22338:7;22335:92;22332:2;;;22430:18;;:::i;:::-;22468:20;;21687:807;-1:-1:-1;;;21687:807:168:o;22499:228::-;22539:7;22665:1;22597:66;22593:74;22590:1;22587:81;22582:1;22575:9;22568:17;22564:105;22561:2;;;22672:18;;:::i;:::-;-1:-1:-1;22712:9:168;;22551:176::o;22732:125::-;22772:4;22800:1;22797;22794:8;22791:2;;;22805:18;;:::i;:::-;-1:-1:-1;22842:9:168;;22781:76::o;22862:258::-;22934:1;22944:113;22958:6;22955:1;22952:13;22944:113;;;23034:11;;;23028:18;23015:11;;;23008:39;22980:2;22973:10;22944:113;;;23075:6;23072:1;23069:13;23066:2;;;23110:1;23101:6;23096:3;23092:16;23085:27;23066:2;;22915:205;;;:::o;23125:195::-;23164:3;23195:66;23188:5;23185:77;23182:2;;;23265:18;;:::i;:::-;-1:-1:-1;23312:1:168;23301:13;;23172:148::o;23325:184::-;23377:77;23374:1;23367:88;23474:4;23471:1;23464:15;23498:4;23495:1;23488:15;23514:184;23566:77;23563:1;23556:88;23663:4;23660:1;23653:15;23687:4;23684:1;23677:15;23703:184;23755:77;23752:1;23745:88;23852:4;23849:1;23842:15;23876:4;23873:1;23866:15;23892:184;23944:77;23941:1;23934:88;24041:4;24038:1;24031:15;24065:4;24062:1;24055:15;24081:184;24133:77;24130:1;24123:88;24230:4;24227:1;24220:15;24254:4;24251:1;24244:15;24270:154;24356:42;24349:5;24345:54;24338:5;24335:65;24325:2;;24414:1;24411;24404:12;24325:2;24315:109;:::o",
    "linkReferences": {},
    "immutableReferences": {
      "16809": [
        {
          "start": 566,
          "length": 32
        },
        {
          "start": 1158,
          "length": 32
        },
        {
          "start": 4902,
          "length": 32
        },
        {
          "start": 6940,
          "length": 32
        },
        {
          "start": 7749,
          "length": 32
        },
        {
          "start": 9546,
          "length": 32
        },
        {
          "start": 10367,
          "length": 32
        }
      ],
      "16814": [
        {
          "start": 395,
          "length": 32
        },
        {
          "start": 954,
          "length": 32
        },
        {
          "start": 2511,
          "length": 32
        },
        {
          "start": 3752,
          "length": 32
        },
        {
          "start": 4175,
          "length": 32
        },
        {
          "start": 6070,
          "length": 32
        },
        {
          "start": 6337,
          "length": 32
        },
        {
          "start": 7478,
          "length": 32
        },
        {
          "start": 8705,
          "length": 32
        },
        {
          "start": 11002,
          "length": 32
        }
      ],
      "16819": [
        {
          "start": 624,
          "length": 32
        },
        {
          "start": 2006,
          "length": 32
        },
        {
          "start": 3506,
          "length": 32
        },
        {
          "start": 10179,
          "length": 32
        },
        {
          "start": 10841,
          "length": 32
        }
      ]
    }
  },
  "methodIdentifiers": {
    "balanceOf(address,uint256)": "00fdd58e",
    "currentOverflowOf(address,uint256)": "d49031c0",
    "currentReclaimableOverflowOf(address,uint256,uint256,bool)": "c294b2f4",
    "currentReclaimableOverflowOf(uint256,uint256,uint256,uint256)": "a57c7f59",
    "currentTotalOverflowOf(uint256,uint256,uint256)": "b753d7e9",
    "directory()": "c41c2f24",
    "fundingCycleStore()": "557e7155",
    "prices()": "d3419bf3",
    "recordAddedBalanceFor(uint256,uint256)": "e7c8e3e3",
    "recordDistributionFor(uint256,uint256,uint256)": "c6644597",
    "recordMigration(uint256)": "6bb6a5ad",
    "recordPaymentFrom(address,(address,uint256,uint256,uint256),uint256,uint256,address,string,bytes)": "2fa1b391",
    "recordRedemptionFor(address,uint256,uint256,string,bytes)": "a2df1f95",
    "recordUsedAllowanceOf(uint256,uint256,uint256)": "25386715",
    "usedDistributionLimitOf(address,uint256,uint256)": "e8ba563a",
    "usedOverflowAllowanceOf(address,uint256,uint256)": "d4c3a8d2"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IJBDirectory\",\"name\":\"_directory\",\"type\":\"address\"},{\"internalType\":\"contract IJBFundingCycleStore\",\"name\":\"_fundingCycleStore\",\"type\":\"address\"},{\"internalType\":\"contract IJBPrices\",\"name\":\"_prices\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"CURRENCY_MISMATCH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DISTRIBUTION_AMOUNT_LIMIT_REACHED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FUNDING_CYCLE_DISTRIBUTION_PAUSED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FUNDING_CYCLE_PAYMENT_PAUSED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FUNDING_CYCLE_REDEEM_PAUSED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"INADEQUATE_CONTROLLER_ALLOWANCE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"INADEQUATE_PAYMENT_TERMINAL_STORE_BALANCE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"INSUFFICIENT_TOKENS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"INVALID_FUNDING_CYCLE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PAYMENT_TERMINAL_MIGRATION_NOT_ALLOWED\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"prod1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"PRBMath__MulDivOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contract IJBSingleTokenPaymentTerminal\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBSingleTokenPaymentTerminal\",\"name\":\"_terminal\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"currentOverflowOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenCount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_totalSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_overflow\",\"type\":\"uint256\"}],\"name\":\"currentReclaimableOverflowOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBSingleTokenPaymentTerminal\",\"name\":\"_terminal\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenCount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_useTotalOverflow\",\"type\":\"bool\"}],\"name\":\"currentReclaimableOverflowOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_decimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_currency\",\"type\":\"uint256\"}],\"name\":\"currentTotalOverflowOf\",\"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\":[],\"name\":\"fundingCycleStore\",\"outputs\":[{\"internalType\":\"contract IJBFundingCycleStore\",\"name\":\"\",\"type\":\"address\"}],\"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\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"recordAddedBalanceFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_currency\",\"type\":\"uint256\"}],\"name\":\"recordDistributionFor\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"basedOn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"discountRate\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBFundingCycleBallot\",\"name\":\"ballot\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"metadata\",\"type\":\"uint256\"}],\"internalType\":\"struct JBFundingCycle\",\"name\":\"fundingCycle\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"distributedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"recordMigration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_payer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currency\",\"type\":\"uint256\"}],\"internalType\":\"struct JBTokenAmount\",\"name\":\"_amount\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_baseWeightCurrency\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_metadata\",\"type\":\"bytes\"}],\"name\":\"recordPaymentFrom\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"basedOn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"discountRate\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBFundingCycleBallot\",\"name\":\"ballot\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"metadata\",\"type\":\"uint256\"}],\"internalType\":\"struct JBFundingCycle\",\"name\":\"fundingCycle\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"tokenCount\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBPayDelegate\",\"name\":\"delegate\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenCount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_metadata\",\"type\":\"bytes\"}],\"name\":\"recordRedemptionFor\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"basedOn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"discountRate\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBFundingCycleBallot\",\"name\":\"ballot\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"metadata\",\"type\":\"uint256\"}],\"internalType\":\"struct JBFundingCycle\",\"name\":\"fundingCycle\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"reclaimAmount\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBRedemptionDelegate\",\"name\":\"delegate\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_currency\",\"type\":\"uint256\"}],\"name\":\"recordUsedAllowanceOf\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"basedOn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"discountRate\",\"type\":\"uint256\"},{\"internalType\":\"contract IJBFundingCycleBallot\",\"name\":\"ballot\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"metadata\",\"type\":\"uint256\"}],\"internalType\":\"struct JBFundingCycle\",\"name\":\"fundingCycle\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"usedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBSingleTokenPaymentTerminal\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"usedDistributionLimitOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBSingleTokenPaymentTerminal\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"usedOverflowAllowanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to: IJBSingleTokenPaymentTerminalStore: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.Inherits from - ReentrancyGuard: Contract module that helps prevent reentrant calls to a function.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"params\":{\"_directory\":\"A contract storing directories of terminals and controllers for each project.\",\"_fundingCycleStore\":\"A contract storing all funding cycle configurations.\",\"_prices\":\"A contract that exposes price feeds.\"}},\"currentOverflowOf(address,uint256)\":{\"details\":\"The current overflow is represented as a fixed point number with the same amount of decimals as the specified terminal.\",\"params\":{\"_projectId\":\"The ID of the project to get overflow for.\",\"_terminal\":\"The terminal for which the overflow is being calculated.\"},\"returns\":{\"_0\":\"The current amount of overflow that project has in the specified terminal.\"}},\"currentReclaimableOverflowOf(address,uint256,uint256,bool)\":{\"details\":\" If the project has an active funding cycle reconfiguration ballot, the project's ballot redemption rate is used.The current reclaimable overflow is returned in terms of the specified terminal's currency.The reclaimable overflow is represented as a fixed point number with the same amount of decimals as the specified terminal.\",\"params\":{\"_projectId\":\"The ID of the project to get the reclaimable overflow amount for.\",\"_terminal\":\"The terminal from which the reclaimable amount would come.\",\"_tokenCount\":\"The number of tokens to make the calculation with, as a fixed point number with 18 decimals.\",\"_useTotalOverflow\":\"A flag indicating whether the overflow used in the calculation should be summed from all of the project's terminals. If false, overflow should be limited to the amount in the specified `_terminal`.\"},\"returns\":{\"_0\":\"The amount of overflowed tokens that can be reclaimed, as a fixed point number with the same number of decimals as the provided `_terminal`.\"}},\"currentReclaimableOverflowOf(uint256,uint256,uint256,uint256)\":{\"details\":\" If the project has an active funding cycle reconfiguration ballot, the project's ballot redemption rate is used.\",\"params\":{\"_overflow\":\"The amount of overflow to make the calculation with, as a fixed point number.\",\"_projectId\":\"The ID of the project to get the reclaimable overflow amount for.\",\"_tokenCount\":\"The number of tokens to make the calculation with, as a fixed point number with 18 decimals.\",\"_totalSupply\":\"The total number of tokens to make the calculation with, as a fixed point number with 18 decimals.\"},\"returns\":{\"_0\":\"The amount of overflowed tokens that can be reclaimed, as a fixed point number with the same number of decimals as the provided `_overflow`.\"}},\"currentTotalOverflowOf(uint256,uint256,uint256)\":{\"params\":{\"_currency\":\"The currency that the total overflow should be in terms of.\",\"_decimals\":\"The number of decimals that the fixed point overflow should include.\",\"_projectId\":\"The ID of the project to get total overflow for.\"},\"returns\":{\"_0\":\"The current total amount of overflow that project has across all terminals.\"}},\"recordAddedBalanceFor(uint256,uint256)\":{\"details\":\"The msg.sender must be an IJBSingleTokenPaymentTerminal. \",\"params\":{\"_amount\":\"The amount of terminal tokens added, as a fixed point number with the same amount of decimals as its relative terminal.\",\"_projectId\":\"The ID of the project to which the funds being added belong.\"}},\"recordDistributionFor(uint256,uint256,uint256)\":{\"details\":\"The msg.sender must be an IJBSingleTokenPaymentTerminal. \",\"params\":{\"_amount\":\"The amount to use from the distribution limit, as a fixed point number.\",\"_currency\":\"The currency of the `_amount`. This must match the project's current funding cycle's currency.\",\"_projectId\":\"The ID of the project that is having funds distributed.\"},\"returns\":{\"distributedAmount\":\"The amount of terminal tokens distributed, as a fixed point number with the same amount of decimals as its relative terminal.\",\"fundingCycle\":\"The funding cycle during which the distribution was made.\"}},\"recordMigration(uint256)\":{\"details\":\"The msg.sender must be an IJBSingleTokenPaymentTerminal. The amount returned is in terms of the msg.senders tokens.\",\"params\":{\"_projectId\":\"The ID of the project being migrated.\"},\"returns\":{\"balance\":\"The project's migrated balance, as a fixed point number with the same amount of decimals as its relative terminal.\"}},\"recordPaymentFrom(address,(address,uint256,uint256,uint256),uint256,uint256,address,string,bytes)\":{\"details\":\"Mint's the project's tokens according to values provided by a configured data source. If no data source is configured, mints tokens proportional to the amount of the contribution.The msg.sender must be an IJBSingleTokenPaymentTerminal. The amount specified in the params is in terms of the msg.sender's tokens.\",\"params\":{\"_amount\":\"The amount of tokens being paid. Includes the token being paid, the value, the number of decimals included, and the currency of the amount.\",\"_baseWeightCurrency\":\"The currency to base token issuance on.\",\"_beneficiary\":\"The specified address that should be the beneficiary of anything that results from the payment.\",\"_memo\":\"A memo to pass along to the emitted event, and passed along to the funding cycle's data source.\",\"_metadata\":\"Bytes to send along to the data source, if one is provided.\",\"_payer\":\"The original address that sent the payment to the terminal.\",\"_projectId\":\"The ID of the project being paid.\"},\"returns\":{\"delegate\":\"A delegate contract to use for subsequent calls.\",\"fundingCycle\":\"The project's funding cycle during which payment was made.\",\"memo\":\"A memo that should be passed along to the emitted event.\",\"tokenCount\":\"The number of project tokens that were minted, as a fixed point number with 18 decimals.\"}},\"recordRedemptionFor(address,uint256,uint256,string,bytes)\":{\"details\":\"Redeems the project's tokens according to values provided by a configured data source. If no data source is configured, redeems tokens along a redemption bonding curve that is a function of the number of tokens being burned.The msg.sender must be an IJBSingleTokenPaymentTerminal. The amount specified in the params is in terms of the msg.senders tokens.\",\"params\":{\"_holder\":\"The account that is having its tokens redeemed.\",\"_memo\":\"A memo to pass along to the emitted event.\",\"_metadata\":\"Bytes to send along to the data source, if one is provided.\",\"_projectId\":\"The ID of the project to which the tokens being redeemed belong.\",\"_tokenCount\":\"The number of project tokens to redeem, as a fixed point number with 18 decimals.\"},\"returns\":{\"delegate\":\"A delegate contract to use for subsequent calls.\",\"fundingCycle\":\"The funding cycle during which the redemption was made.\",\"memo\":\"A memo that should be passed along to the emitted event.\",\"reclaimAmount\":\"The amount of terminal tokens reclaimed, as a fixed point number with 18 decimals.\"}},\"recordUsedAllowanceOf(uint256,uint256,uint256)\":{\"details\":\"The msg.sender must be an IJBSingleTokenPaymentTerminal. \",\"params\":{\"_amount\":\"The amount to use from the allowance, as a fixed point number. \",\"_currency\":\"The currency of the `_amount`. Must match the currency of the overflow allowance.\",\"_projectId\":\"The ID of the project to use the allowance of.\"},\"returns\":{\"fundingCycle\":\"The funding cycle during which the overflow allowance is being used.\",\"usedAmount\":\"The amount of terminal tokens used, as a fixed point number with the same amount of decimals as its relative terminal.\"}}},\"stateVariables\":{\"balanceOf\":{\"details\":\"The used distribution limit is represented as a fixed point number with the same amount of decimals as its relative terminal. _terminal The terminal to which the balance applies. _projectId The ID of the project to get the balance of.\"},\"usedDistributionLimitOf\":{\"details\":\"Increases as projects use their preconfigured distribution limits.The used distribution limit is represented as a fixed point number with the same amount of decimals as its relative terminal. _terminal The terminal to which the used distribution limit applies. _projectId The ID of the project to get the used distribution limit of. _fundingCycleNumber The number of the funding cycle during which the distribution limit was used.\"},\"usedOverflowAllowanceOf\":{\"details\":\"Increases as projects use their allowance.The used allowance is represented as a fixed point number with the same amount of decimals as its relative terminal. _terminal The terminal to which the overflow allowance applies. _projectId The ID of the project to get the used overflow allowance of. _configuration The configuration of the during which the allowance was used.\"}},\"version\":1},\"userdoc\":{\"errors\":{\"PRBMath__MulDivOverflow(uint256,uint256)\":[{\"notice\":\"Emitted when the result overflows uint256.\"}]},\"kind\":\"user\",\"methods\":{\"balanceOf(address,uint256)\":{\"notice\":\"The amount of tokens that each project has for each terminal, in terms of the terminal's token.\"},\"currentOverflowOf(address,uint256)\":{\"notice\":\"Gets the current overflowed amount in a terminal for a specified project.\"},\"currentReclaimableOverflowOf(address,uint256,uint256,bool)\":{\"notice\":\"The current amount of overflowed tokens from a terminal that can be reclaimed by the specified number of tokens, using the total token supply and overflow in the ecosystem.\"},\"currentReclaimableOverflowOf(uint256,uint256,uint256,uint256)\":{\"notice\":\"The current amount of overflowed tokens from a terminal that can be reclaimed by the specified number of tokens, using the specified total token supply and overflow amounts.\"},\"currentTotalOverflowOf(uint256,uint256,uint256)\":{\"notice\":\"Gets the current overflowed amount for a specified project across all terminals.\"},\"directory()\":{\"notice\":\"The directory of terminals and controllers for projects.\"},\"fundingCycleStore()\":{\"notice\":\"The contract storing all funding cycle configurations.\"},\"prices()\":{\"notice\":\"The contract that exposes price feeds.\"},\"recordAddedBalanceFor(uint256,uint256)\":{\"notice\":\"Records newly added funds for the project.\"},\"recordDistributionFor(uint256,uint256,uint256)\":{\"notice\":\"Records newly distributed funds for a project.\"},\"recordMigration(uint256)\":{\"notice\":\"Records the migration of funds from this store.\"},\"recordPaymentFrom(address,(address,uint256,uint256,uint256),uint256,uint256,address,string,bytes)\":{\"notice\":\"Records newly contributed tokens to a project.\"},\"recordRedemptionFor(address,uint256,uint256,string,bytes)\":{\"notice\":\"Records newly redeemed tokens of a project.\"},\"recordUsedAllowanceOf(uint256,uint256,uint256)\":{\"notice\":\"Records newly used allowance funds of a project.\"},\"usedDistributionLimitOf(address,uint256,uint256)\":{\"notice\":\"The amount of funds that a project has distributed from its limit during the current funding cycle for each terminal, in terms of the distribution limit's currency.\"},\"usedOverflowAllowanceOf(address,uint256,uint256)\":{\"notice\":\"The amount of funds that a project has used from its allowance during the current funding cycle configuration for each terminal, in terms of the overflow allowance's currency.\"}},\"notice\":\"Manages all bookkeeping for inflows and outflows of funds from any ISingleTokenPaymentTerminal.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/contracts/JBSingleTokenPaymentTerminalStore.sol\":\"JBSingleTokenPaymentTerminalStore\"},\"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/JBSingleTokenPaymentTerminalStore.sol\":{\"keccak256\":\"0xf79a22cdb6669897d61e272d30b6bf5eba696a77764c326fc8729b9065c4a50f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b89d05574dc85de7fe498a9485f7e1b2d12b2a4dadae9acfdb8fa7c2917b0264\",\"dweb:/ipfs/QmfQhaZdh2r6KYFm1QT1MYfqPbohRCRbQaMPDWCU9QP3J9\"]},\"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/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/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/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/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/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/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/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/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/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x03a26b0ce85afee2c16f3232bd123286b849ca576778781cf6e8bbf51cb7570a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://13a4f5cec214760f14abaedfc0a1860d80c2267386fa62dc77e8eee51ec84d71\",\"dweb:/ipfs/QmWmEKeofHqLnNEeCivhzTepo1k5xZZqzMxyyyzNBYiYBW\"]},\"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}",
  "metadata": {
    "compiler": {
      "version": "0.8.6+commit.11564f7e"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [
            {
              "internalType": "contract IJBDirectory",
              "name": "_directory",
              "type": "address"
            },
            {
              "internalType": "contract IJBFundingCycleStore",
              "name": "_fundingCycleStore",
              "type": "address"
            },
            {
              "internalType": "contract IJBPrices",
              "name": "_prices",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "constructor"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "CURRENCY_MISMATCH"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "DISTRIBUTION_AMOUNT_LIMIT_REACHED"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "FUNDING_CYCLE_DISTRIBUTION_PAUSED"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "FUNDING_CYCLE_PAYMENT_PAUSED"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "FUNDING_CYCLE_REDEEM_PAUSED"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "INADEQUATE_CONTROLLER_ALLOWANCE"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "INADEQUATE_PAYMENT_TERMINAL_STORE_BALANCE"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "INSUFFICIENT_TOKENS"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "INVALID_FUNDING_CYCLE"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "PAYMENT_TERMINAL_MIGRATION_NOT_ALLOWED"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "prod1",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "denominator",
              "type": "uint256"
            }
          ],
          "type": "error",
          "name": "PRBMath__MulDivOverflow"
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBSingleTokenPaymentTerminal",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "balanceOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBSingleTokenPaymentTerminal",
              "name": "_terminal",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "currentOverflowOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_tokenCount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_totalSupply",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_overflow",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "currentReclaimableOverflowOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBSingleTokenPaymentTerminal",
              "name": "_terminal",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_tokenCount",
              "type": "uint256"
            },
            {
              "internalType": "bool",
              "name": "_useTotalOverflow",
              "type": "bool"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "currentReclaimableOverflowOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_decimals",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_currency",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "currentTotalOverflowOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "directory",
          "outputs": [
            {
              "internalType": "contract IJBDirectory",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "fundingCycleStore",
          "outputs": [
            {
              "internalType": "contract IJBFundingCycleStore",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "prices",
          "outputs": [
            {
              "internalType": "contract IJBPrices",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "recordAddedBalanceFor"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_currency",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "recordDistributionFor",
          "outputs": [
            {
              "internalType": "struct JBFundingCycle",
              "name": "fundingCycle",
              "type": "tuple",
              "components": [
                {
                  "internalType": "uint256",
                  "name": "number",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "configuration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "basedOn",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "start",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "duration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "weight",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "discountRate",
                  "type": "uint256"
                },
                {
                  "internalType": "contract IJBFundingCycleBallot",
                  "name": "ballot",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "metadata",
                  "type": "uint256"
                }
              ]
            },
            {
              "internalType": "uint256",
              "name": "distributedAmount",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "recordMigration",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "balance",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_payer",
              "type": "address"
            },
            {
              "internalType": "struct JBTokenAmount",
              "name": "_amount",
              "type": "tuple",
              "components": [
                {
                  "internalType": "address",
                  "name": "token",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "value",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "decimals",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currency",
                  "type": "uint256"
                }
              ]
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_baseWeightCurrency",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_beneficiary",
              "type": "address"
            },
            {
              "internalType": "string",
              "name": "_memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "_metadata",
              "type": "bytes"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "recordPaymentFrom",
          "outputs": [
            {
              "internalType": "struct JBFundingCycle",
              "name": "fundingCycle",
              "type": "tuple",
              "components": [
                {
                  "internalType": "uint256",
                  "name": "number",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "configuration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "basedOn",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "start",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "duration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "weight",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "discountRate",
                  "type": "uint256"
                },
                {
                  "internalType": "contract IJBFundingCycleBallot",
                  "name": "ballot",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "metadata",
                  "type": "uint256"
                }
              ]
            },
            {
              "internalType": "uint256",
              "name": "tokenCount",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBPayDelegate",
              "name": "delegate",
              "type": "address"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_tokenCount",
              "type": "uint256"
            },
            {
              "internalType": "string",
              "name": "_memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "_metadata",
              "type": "bytes"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "recordRedemptionFor",
          "outputs": [
            {
              "internalType": "struct JBFundingCycle",
              "name": "fundingCycle",
              "type": "tuple",
              "components": [
                {
                  "internalType": "uint256",
                  "name": "number",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "configuration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "basedOn",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "start",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "duration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "weight",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "discountRate",
                  "type": "uint256"
                },
                {
                  "internalType": "contract IJBFundingCycleBallot",
                  "name": "ballot",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "metadata",
                  "type": "uint256"
                }
              ]
            },
            {
              "internalType": "uint256",
              "name": "reclaimAmount",
              "type": "uint256"
            },
            {
              "internalType": "contract IJBRedemptionDelegate",
              "name": "delegate",
              "type": "address"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_currency",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "recordUsedAllowanceOf",
          "outputs": [
            {
              "internalType": "struct JBFundingCycle",
              "name": "fundingCycle",
              "type": "tuple",
              "components": [
                {
                  "internalType": "uint256",
                  "name": "number",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "configuration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "basedOn",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "start",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "duration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "weight",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "discountRate",
                  "type": "uint256"
                },
                {
                  "internalType": "contract IJBFundingCycleBallot",
                  "name": "ballot",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "metadata",
                  "type": "uint256"
                }
              ]
            },
            {
              "internalType": "uint256",
              "name": "usedAmount",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBSingleTokenPaymentTerminal",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "usedDistributionLimitOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "contract IJBSingleTokenPaymentTerminal",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "usedOverflowAllowanceOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "constructor": {
            "params": {
              "_directory": "A contract storing directories of terminals and controllers for each project.",
              "_fundingCycleStore": "A contract storing all funding cycle configurations.",
              "_prices": "A contract that exposes price feeds."
            }
          },
          "currentOverflowOf(address,uint256)": {
            "details": "The current overflow is represented as a fixed point number with the same amount of decimals as the specified terminal.",
            "params": {
              "_projectId": "The ID of the project to get overflow for.",
              "_terminal": "The terminal for which the overflow is being calculated."
            },
            "returns": {
              "_0": "The current amount of overflow that project has in the specified terminal."
            }
          },
          "currentReclaimableOverflowOf(address,uint256,uint256,bool)": {
            "details": " If the project has an active funding cycle reconfiguration ballot, the project's ballot redemption rate is used.The current reclaimable overflow is returned in terms of the specified terminal's currency.The reclaimable overflow is represented as a fixed point number with the same amount of decimals as the specified terminal.",
            "params": {
              "_projectId": "The ID of the project to get the reclaimable overflow amount for.",
              "_terminal": "The terminal from which the reclaimable amount would come.",
              "_tokenCount": "The number of tokens to make the calculation with, as a fixed point number with 18 decimals.",
              "_useTotalOverflow": "A flag indicating whether the overflow used in the calculation should be summed from all of the project's terminals. If false, overflow should be limited to the amount in the specified `_terminal`."
            },
            "returns": {
              "_0": "The amount of overflowed tokens that can be reclaimed, as a fixed point number with the same number of decimals as the provided `_terminal`."
            }
          },
          "currentReclaimableOverflowOf(uint256,uint256,uint256,uint256)": {
            "details": " If the project has an active funding cycle reconfiguration ballot, the project's ballot redemption rate is used.",
            "params": {
              "_overflow": "The amount of overflow to make the calculation with, as a fixed point number.",
              "_projectId": "The ID of the project to get the reclaimable overflow amount for.",
              "_tokenCount": "The number of tokens to make the calculation with, as a fixed point number with 18 decimals.",
              "_totalSupply": "The total number of tokens to make the calculation with, as a fixed point number with 18 decimals."
            },
            "returns": {
              "_0": "The amount of overflowed tokens that can be reclaimed, as a fixed point number with the same number of decimals as the provided `_overflow`."
            }
          },
          "currentTotalOverflowOf(uint256,uint256,uint256)": {
            "params": {
              "_currency": "The currency that the total overflow should be in terms of.",
              "_decimals": "The number of decimals that the fixed point overflow should include.",
              "_projectId": "The ID of the project to get total overflow for."
            },
            "returns": {
              "_0": "The current total amount of overflow that project has across all terminals."
            }
          },
          "recordAddedBalanceFor(uint256,uint256)": {
            "details": "The msg.sender must be an IJBSingleTokenPaymentTerminal. ",
            "params": {
              "_amount": "The amount of terminal tokens added, as a fixed point number with the same amount of decimals as its relative terminal.",
              "_projectId": "The ID of the project to which the funds being added belong."
            }
          },
          "recordDistributionFor(uint256,uint256,uint256)": {
            "details": "The msg.sender must be an IJBSingleTokenPaymentTerminal. ",
            "params": {
              "_amount": "The amount to use from the distribution limit, as a fixed point number.",
              "_currency": "The currency of the `_amount`. This must match the project's current funding cycle's currency.",
              "_projectId": "The ID of the project that is having funds distributed."
            },
            "returns": {
              "distributedAmount": "The amount of terminal tokens distributed, as a fixed point number with the same amount of decimals as its relative terminal.",
              "fundingCycle": "The funding cycle during which the distribution was made."
            }
          },
          "recordMigration(uint256)": {
            "details": "The msg.sender must be an IJBSingleTokenPaymentTerminal. The amount returned is in terms of the msg.senders tokens.",
            "params": {
              "_projectId": "The ID of the project being migrated."
            },
            "returns": {
              "balance": "The project's migrated balance, as a fixed point number with the same amount of decimals as its relative terminal."
            }
          },
          "recordPaymentFrom(address,(address,uint256,uint256,uint256),uint256,uint256,address,string,bytes)": {
            "details": "Mint's the project's tokens according to values provided by a configured data source. If no data source is configured, mints tokens proportional to the amount of the contribution.The msg.sender must be an IJBSingleTokenPaymentTerminal. The amount specified in the params is in terms of the msg.sender's tokens.",
            "params": {
              "_amount": "The amount of tokens being paid. Includes the token being paid, the value, the number of decimals included, and the currency of the amount.",
              "_baseWeightCurrency": "The currency to base token issuance on.",
              "_beneficiary": "The specified address that should be the beneficiary of anything that results from the payment.",
              "_memo": "A memo to pass along to the emitted event, and passed along to the funding cycle's data source.",
              "_metadata": "Bytes to send along to the data source, if one is provided.",
              "_payer": "The original address that sent the payment to the terminal.",
              "_projectId": "The ID of the project being paid."
            },
            "returns": {
              "delegate": "A delegate contract to use for subsequent calls.",
              "fundingCycle": "The project's funding cycle during which payment was made.",
              "memo": "A memo that should be passed along to the emitted event.",
              "tokenCount": "The number of project tokens that were minted, as a fixed point number with 18 decimals."
            }
          },
          "recordRedemptionFor(address,uint256,uint256,string,bytes)": {
            "details": "Redeems the project's tokens according to values provided by a configured data source. If no data source is configured, redeems tokens along a redemption bonding curve that is a function of the number of tokens being burned.The msg.sender must be an IJBSingleTokenPaymentTerminal. The amount specified in the params is in terms of the msg.senders tokens.",
            "params": {
              "_holder": "The account that is having its tokens redeemed.",
              "_memo": "A memo to pass along to the emitted event.",
              "_metadata": "Bytes to send along to the data source, if one is provided.",
              "_projectId": "The ID of the project to which the tokens being redeemed belong.",
              "_tokenCount": "The number of project tokens to redeem, as a fixed point number with 18 decimals."
            },
            "returns": {
              "delegate": "A delegate contract to use for subsequent calls.",
              "fundingCycle": "The funding cycle during which the redemption was made.",
              "memo": "A memo that should be passed along to the emitted event.",
              "reclaimAmount": "The amount of terminal tokens reclaimed, as a fixed point number with 18 decimals."
            }
          },
          "recordUsedAllowanceOf(uint256,uint256,uint256)": {
            "details": "The msg.sender must be an IJBSingleTokenPaymentTerminal. ",
            "params": {
              "_amount": "The amount to use from the allowance, as a fixed point number. ",
              "_currency": "The currency of the `_amount`. Must match the currency of the overflow allowance.",
              "_projectId": "The ID of the project to use the allowance of."
            },
            "returns": {
              "fundingCycle": "The funding cycle during which the overflow allowance is being used.",
              "usedAmount": "The amount of terminal tokens used, as a fixed point number with the same amount of decimals as its relative terminal."
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "balanceOf(address,uint256)": {
            "notice": "The amount of tokens that each project has for each terminal, in terms of the terminal's token."
          },
          "currentOverflowOf(address,uint256)": {
            "notice": "Gets the current overflowed amount in a terminal for a specified project."
          },
          "currentReclaimableOverflowOf(address,uint256,uint256,bool)": {
            "notice": "The current amount of overflowed tokens from a terminal that can be reclaimed by the specified number of tokens, using the total token supply and overflow in the ecosystem."
          },
          "currentReclaimableOverflowOf(uint256,uint256,uint256,uint256)": {
            "notice": "The current amount of overflowed tokens from a terminal that can be reclaimed by the specified number of tokens, using the specified total token supply and overflow amounts."
          },
          "currentTotalOverflowOf(uint256,uint256,uint256)": {
            "notice": "Gets the current overflowed amount for a specified project across all terminals."
          },
          "directory()": {
            "notice": "The directory of terminals and controllers for projects."
          },
          "fundingCycleStore()": {
            "notice": "The contract storing all funding cycle configurations."
          },
          "prices()": {
            "notice": "The contract that exposes price feeds."
          },
          "recordAddedBalanceFor(uint256,uint256)": {
            "notice": "Records newly added funds for the project."
          },
          "recordDistributionFor(uint256,uint256,uint256)": {
            "notice": "Records newly distributed funds for a project."
          },
          "recordMigration(uint256)": {
            "notice": "Records the migration of funds from this store."
          },
          "recordPaymentFrom(address,(address,uint256,uint256,uint256),uint256,uint256,address,string,bytes)": {
            "notice": "Records newly contributed tokens to a project."
          },
          "recordRedemptionFor(address,uint256,uint256,string,bytes)": {
            "notice": "Records newly redeemed tokens of a project."
          },
          "recordUsedAllowanceOf(uint256,uint256,uint256)": {
            "notice": "Records newly used allowance funds of a project."
          },
          "usedDistributionLimitOf(address,uint256,uint256)": {
            "notice": "The amount of funds that a project has distributed from its limit during the current funding cycle for each terminal, in terms of the distribution limit's currency."
          },
          "usedOverflowAllowanceOf(address,uint256,uint256)": {
            "notice": "The amount of funds that a project has used from its allowance during the current funding cycle configuration for each terminal, in terms of the overflow allowance's currency."
          }
        },
        "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/JBSingleTokenPaymentTerminalStore.sol": "JBSingleTokenPaymentTerminalStore"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/contracts/JBSingleTokenPaymentTerminalStore.sol": {
        "keccak256": "0xf79a22cdb6669897d61e272d30b6bf5eba696a77764c326fc8729b9065c4a50f",
        "urls": [
          "bzz-raw://b89d05574dc85de7fe498a9485f7e1b2d12b2a4dadae9acfdb8fa7c2917b0264",
          "dweb:/ipfs/QmfQhaZdh2r6KYFm1QT1MYfqPbohRCRbQaMPDWCU9QP3J9"
        ],
        "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/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/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/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/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/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/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/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/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/security/ReentrancyGuard.sol": {
        "keccak256": "0x03a26b0ce85afee2c16f3232bd123286b849ca576778781cf6e8bbf51cb7570a",
        "urls": [
          "bzz-raw://13a4f5cec214760f14abaedfc0a1860d80c2267386fa62dc77e8eee51ec84d71",
          "dweb:/ipfs/QmWmEKeofHqLnNEeCivhzTepo1k5xZZqzMxyyyzNBYiYBW"
        ],
        "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/introspection/IERC165.sol": {
        "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",
        "urls": [
          "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f",
          "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/juice-contracts-v2/contracts/JBSingleTokenPaymentTerminalStore.sol",
    "id": 18153,
    "exportedSymbols": {
      "IERC165": [
        38868
      ],
      "IERC721": [
        37612
      ],
      "IJBController": [
        38113
      ],
      "IJBDirectory": [
        31924
      ],
      "IJBFundingCycleBallot": [
        40432
      ],
      "IJBFundingCycleDataSource": [
        38673
      ],
      "IJBFundingCycleStore": [
        38633
      ],
      "IJBMigratable": [
        38123
      ],
      "IJBPayDelegate": [
        38522
      ],
      "IJBPaymentTerminal": [
        31994
      ],
      "IJBPriceFeed": [
        23065
      ],
      "IJBPrices": [
        23109
      ],
      "IJBProjects": [
        38202
      ],
      "IJBRedemptionDelegate": [
        38537
      ],
      "IJBSingleTokenPaymentTerminal": [
        23154
      ],
      "IJBSingleTokenPaymentTerminalStore": [
        23358
      ],
      "IJBSplitAllocator": [
        32009
      ],
      "IJBSplitsStore": [
        38267
      ],
      "IJBToken": [
        35743
      ],
      "IJBTokenStore": [
        38496
      ],
      "IJBTokenUriResolver": [
        62435
      ],
      "JBBallotState": [
        62441
      ],
      "JBConstants": [
        35765
      ],
      "JBCurrencies": [
        38211
      ],
      "JBDidPayData": [
        35788
      ],
      "JBDidRedeemData": [
        35809
      ],
      "JBFixedPointNumber": [
        23401
      ],
      "JBFundAccessConstraints": [
        35826
      ],
      "JBFundingCycle": [
        35849
      ],
      "JBFundingCycleData": [
        35862
      ],
      "JBFundingCycleMetadata": [
        35902
      ],
      "JBFundingCycleMetadataResolver": [
        23996
      ],
      "JBGlobalFundingCycleMetadata": [
        38681
      ],
      "JBGlobalFundingCycleMetadataResolver": [
        24080
      ],
      "JBGroupedSplits": [
        35912
      ],
      "JBPayParamsData": [
        35939
      ],
      "JBProjectMetadata": [
        35946
      ],
      "JBRedeemParamsData": [
        35979
      ],
      "JBSingleTokenPaymentTerminalStore": [
        18152
      ],
      "JBSplit": [
        35998
      ],
      "JBSplitAllocationData": [
        32036
      ],
      "JBTokenAmount": [
        38507
      ],
      "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:36481:66",
    "nodes": [
      {
        "id": 16763,
        "nodeType": "PragmaDirective",
        "src": "32:22:66",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 16764,
        "nodeType": "ImportDirective",
        "src": "56:62:66",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol",
        "file": "@openzeppelin/contracts/security/ReentrancyGuard.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 18153,
        "sourceUnit": 36670,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 16765,
        "nodeType": "ImportDirective",
        "src": "119:47:66",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/lib/prb-math/contracts/PRBMath.sol",
        "file": "@paulrberg/contracts/math/PRBMath.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 18153,
        "sourceUnit": 26108,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 16766,
        "nodeType": "ImportDirective",
        "src": "167:40:66",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBController.sol",
        "file": "./interfaces/IJBController.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 18153,
        "sourceUnit": 38114,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 16767,
        "nodeType": "ImportDirective",
        "src": "208:61:66",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBSingleTokenPaymentTerminalStore.sol",
        "file": "./interfaces/IJBSingleTokenPaymentTerminalStore.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 18153,
        "sourceUnit": 23359,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 16768,
        "nodeType": "ImportDirective",
        "src": "270:37:66",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBConstants.sol",
        "file": "./libraries/JBConstants.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 18153,
        "sourceUnit": 35766,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 16769,
        "nodeType": "ImportDirective",
        "src": "308:38:66",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBCurrencies.sol",
        "file": "./libraries/JBCurrencies.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 18153,
        "sourceUnit": 38212,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 16770,
        "nodeType": "ImportDirective",
        "src": "347:44:66",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBFixedPointNumber.sol",
        "file": "./libraries/JBFixedPointNumber.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 18153,
        "sourceUnit": 23402,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 16771,
        "nodeType": "ImportDirective",
        "src": "392:56:66",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/libraries/JBFundingCycleMetadataResolver.sol",
        "file": "./libraries/JBFundingCycleMetadataResolver.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 18153,
        "sourceUnit": 23997,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 18152,
        "nodeType": "ContractDefinition",
        "src": "864:35648:66",
        "nodes": [
          {
            "id": 16780,
            "nodeType": "UsingForDirective",
            "src": "1053:56:66",
            "nodes": [],
            "libraryName": {
              "id": 16777,
              "name": "JBFundingCycleMetadataResolver",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 23996,
              "src": "1059:30:66"
            },
            "typeName": {
              "id": 16779,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 16778,
                "name": "JBFundingCycle",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 35849,
                "src": "1094:14:66"
              },
              "referencedDeclaration": 35849,
              "src": "1094:14:66",
              "typeDescriptions": {
                "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                "typeString": "struct JBFundingCycle"
              }
            }
          },
          {
            "id": 16782,
            "nodeType": "ErrorDefinition",
            "src": "1341:26:66",
            "nodes": [],
            "name": "CURRENCY_MISMATCH",
            "nameLocation": "1347:17:66",
            "parameters": {
              "id": 16781,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1364:2:66"
            }
          },
          {
            "id": 16784,
            "nodeType": "ErrorDefinition",
            "src": "1370:42:66",
            "nodes": [],
            "name": "DISTRIBUTION_AMOUNT_LIMIT_REACHED",
            "nameLocation": "1376:33:66",
            "parameters": {
              "id": 16783,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1409:2:66"
            }
          },
          {
            "id": 16786,
            "nodeType": "ErrorDefinition",
            "src": "1415:37:66",
            "nodes": [],
            "name": "FUNDING_CYCLE_PAYMENT_PAUSED",
            "nameLocation": "1421:28:66",
            "parameters": {
              "id": 16785,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1449:2:66"
            }
          },
          {
            "id": 16788,
            "nodeType": "ErrorDefinition",
            "src": "1455:42:66",
            "nodes": [],
            "name": "FUNDING_CYCLE_DISTRIBUTION_PAUSED",
            "nameLocation": "1461:33:66",
            "parameters": {
              "id": 16787,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1494:2:66"
            }
          },
          {
            "id": 16790,
            "nodeType": "ErrorDefinition",
            "src": "1500:36:66",
            "nodes": [],
            "name": "FUNDING_CYCLE_REDEEM_PAUSED",
            "nameLocation": "1506:27:66",
            "parameters": {
              "id": 16789,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1533:2:66"
            }
          },
          {
            "id": 16792,
            "nodeType": "ErrorDefinition",
            "src": "1539:40:66",
            "nodes": [],
            "name": "INADEQUATE_CONTROLLER_ALLOWANCE",
            "nameLocation": "1545:31:66",
            "parameters": {
              "id": 16791,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1576:2:66"
            }
          },
          {
            "id": 16794,
            "nodeType": "ErrorDefinition",
            "src": "1582:50:66",
            "nodes": [],
            "name": "INADEQUATE_PAYMENT_TERMINAL_STORE_BALANCE",
            "nameLocation": "1588:41:66",
            "parameters": {
              "id": 16793,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1629:2:66"
            }
          },
          {
            "id": 16796,
            "nodeType": "ErrorDefinition",
            "src": "1635:28:66",
            "nodes": [],
            "name": "INSUFFICIENT_TOKENS",
            "nameLocation": "1641:19:66",
            "parameters": {
              "id": 16795,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1660:2:66"
            }
          },
          {
            "id": 16798,
            "nodeType": "ErrorDefinition",
            "src": "1666:30:66",
            "nodes": [],
            "name": "INVALID_FUNDING_CYCLE",
            "nameLocation": "1672:21:66",
            "parameters": {
              "id": 16797,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1693:2:66"
            }
          },
          {
            "id": 16800,
            "nodeType": "ErrorDefinition",
            "src": "1699:47:66",
            "nodes": [],
            "name": "PAYMENT_TERMINAL_MIGRATION_NOT_ALLOWED",
            "nameLocation": "1705:38:66",
            "parameters": {
              "id": 16799,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1743:2:66"
            }
          },
          {
            "id": 16804,
            "nodeType": "VariableDeclaration",
            "src": "2117:55:66",
            "nodes": [],
            "constant": true,
            "documentation": {
              "id": 16801,
              "nodeType": "StructuredDocumentation",
              "src": "1979:135:66",
              "text": "@notice\nEnsures a maximum number of decimal points of persisted fidelity on mulDiv operations of fixed point numbers. "
            },
            "mutability": "constant",
            "name": "_MAX_FIXED_POINT_FIDELITY",
            "nameLocation": "2142:25:66",
            "scope": 18152,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 16802,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "2117:7:66",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "3138",
              "id": 16803,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "2170:2:66",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_18_by_1",
                "typeString": "int_const 18"
              },
              "value": "18"
            },
            "visibility": "private"
          },
          {
            "id": 16809,
            "nodeType": "VariableDeclaration",
            "src": "2490:48:66",
            "nodes": [],
            "baseFunctions": [
              23176
            ],
            "constant": false,
            "documentation": {
              "id": 16805,
              "nodeType": "StructuredDocumentation",
              "src": "2406:81:66",
              "text": "@notice\nThe directory of terminals and controllers for projects."
            },
            "functionSelector": "c41c2f24",
            "mutability": "immutable",
            "name": "directory",
            "nameLocation": "2529:9:66",
            "overrides": {
              "id": 16808,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2520:8:66"
            },
            "scope": 18152,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBDirectory_$31924",
              "typeString": "contract IJBDirectory"
            },
            "typeName": {
              "id": 16807,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 16806,
                "name": "IJBDirectory",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 31924,
                "src": "2490:12:66"
              },
              "referencedDeclaration": 31924,
              "src": "2490:12:66",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                "typeString": "contract IJBDirectory"
              }
            },
            "visibility": "public"
          },
          {
            "id": 16814,
            "nodeType": "VariableDeclaration",
            "src": "2625:64:66",
            "nodes": [],
            "baseFunctions": [
              23170
            ],
            "constant": false,
            "documentation": {
              "id": 16810,
              "nodeType": "StructuredDocumentation",
              "src": "2543:79:66",
              "text": "@notice\nThe contract storing all funding cycle configurations."
            },
            "functionSelector": "557e7155",
            "mutability": "immutable",
            "name": "fundingCycleStore",
            "nameLocation": "2672:17:66",
            "overrides": {
              "id": 16813,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2663:8:66"
            },
            "scope": 18152,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
              "typeString": "contract IJBFundingCycleStore"
            },
            "typeName": {
              "id": 16812,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 16811,
                "name": "IJBFundingCycleStore",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 38633,
                "src": "2625:20:66"
              },
              "referencedDeclaration": 38633,
              "src": "2625:20:66",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                "typeString": "contract IJBFundingCycleStore"
              }
            },
            "visibility": "public"
          },
          {
            "id": 16819,
            "nodeType": "VariableDeclaration",
            "src": "2760:42:66",
            "nodes": [],
            "baseFunctions": [
              23182
            ],
            "constant": false,
            "documentation": {
              "id": 16815,
              "nodeType": "StructuredDocumentation",
              "src": "2694:63:66",
              "text": "@notice\nThe contract that exposes price feeds."
            },
            "functionSelector": "d3419bf3",
            "mutability": "immutable",
            "name": "prices",
            "nameLocation": "2796:6:66",
            "overrides": {
              "id": 16818,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2787:8:66"
            },
            "scope": 18152,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IJBPrices_$23109",
              "typeString": "contract IJBPrices"
            },
            "typeName": {
              "id": 16817,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 16816,
                "name": "IJBPrices",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 23109,
                "src": "2760:9:66"
              },
              "referencedDeclaration": 23109,
              "src": "2760:9:66",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IJBPrices_$23109",
                "typeString": "contract IJBPrices"
              }
            },
            "visibility": "public"
          },
          {
            "id": 16828,
            "nodeType": "VariableDeclaration",
            "src": "3417:95:66",
            "nodes": [],
            "baseFunctions": [
              23192
            ],
            "constant": false,
            "documentation": {
              "id": 16820,
              "nodeType": "StructuredDocumentation",
              "src": "3036:378:66",
              "text": "@notice\nThe amount of tokens that each project has for each terminal, in terms of the terminal's token.\n@dev\nThe used distribution limit is represented as a fixed point number with the same amount of decimals as its relative terminal.\n_terminal The terminal to which the balance applies.\n_projectId The ID of the project to get the balance of."
            },
            "functionSelector": "00fdd58e",
            "mutability": "mutable",
            "name": "balanceOf",
            "nameLocation": "3503:9:66",
            "overrides": {
              "id": 16827,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3494:8:66"
            },
            "scope": 18152,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
            },
            "typeName": {
              "id": 16826,
              "keyType": {
                "id": 16822,
                "nodeType": "UserDefinedTypeName",
                "pathNode": {
                  "id": 16821,
                  "name": "IJBSingleTokenPaymentTerminal",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 23154,
                  "src": "3425:29:66"
                },
                "referencedDeclaration": 23154,
                "src": "3425:29:66",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                  "typeString": "contract IJBSingleTokenPaymentTerminal"
                }
              },
              "nodeType": "Mapping",
              "src": "3417:69:66",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
              },
              "valueType": {
                "id": 16825,
                "keyType": {
                  "id": 16823,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "3466:7:66",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "nodeType": "Mapping",
                "src": "3458:27:66",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                  "typeString": "mapping(uint256 => uint256)"
                },
                "valueType": {
                  "id": 16824,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "3477:7:66",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 16839,
            "nodeType": "VariableDeclaration",
            "src": "4182:137:66",
            "nodes": [],
            "baseFunctions": [
              23204
            ],
            "constant": false,
            "documentation": {
              "id": 16829,
              "nodeType": "StructuredDocumentation",
              "src": "3517:662:66",
              "text": "@notice\nThe amount of funds that a project has distributed from its limit during the current funding cycle for each terminal, in terms of the distribution limit's currency.\n@dev\nIncreases as projects use their preconfigured distribution limits.\n@dev\nThe used distribution limit is represented as a fixed point number with the same amount of decimals as its relative terminal.\n_terminal The terminal to which the used distribution limit applies.\n_projectId The ID of the project to get the used distribution limit of.\n_fundingCycleNumber The number of the funding cycle during which the distribution limit was used."
            },
            "functionSelector": "e8ba563a",
            "mutability": "mutable",
            "name": "usedDistributionLimitOf",
            "nameLocation": "4296:23:66",
            "overrides": {
              "id": 16838,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "4287:8:66"
            },
            "scope": 18152,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
            },
            "typeName": {
              "id": 16837,
              "keyType": {
                "id": 16831,
                "nodeType": "UserDefinedTypeName",
                "pathNode": {
                  "id": 16830,
                  "name": "IJBSingleTokenPaymentTerminal",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 23154,
                  "src": "4190:29:66"
                },
                "referencedDeclaration": 23154,
                "src": "4190:29:66",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                  "typeString": "contract IJBSingleTokenPaymentTerminal"
                }
              },
              "nodeType": "Mapping",
              "src": "4182:89:66",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
              },
              "valueType": {
                "id": 16836,
                "keyType": {
                  "id": 16832,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "4231:7:66",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "nodeType": "Mapping",
                "src": "4223:47:66",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                  "typeString": "mapping(uint256 => mapping(uint256 => uint256))"
                },
                "valueType": {
                  "id": 16835,
                  "keyType": {
                    "id": 16833,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4250:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "Mapping",
                  "src": "4242:27:66",
                  "typeDescriptions": {
                    "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                    "typeString": "mapping(uint256 => uint256)"
                  },
                  "valueType": {
                    "id": 16834,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4261:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 16850,
            "nodeType": "VariableDeclaration",
            "src": "4941:137:66",
            "nodes": [],
            "baseFunctions": [
              23216
            ],
            "constant": false,
            "documentation": {
              "id": 16840,
              "nodeType": "StructuredDocumentation",
              "src": "4324:614:66",
              "text": "@notice\nThe amount of funds that a project has used from its allowance during the current funding cycle configuration for each terminal, in terms of the overflow allowance's currency.\n@dev\nIncreases as projects use their allowance.\n@dev\nThe used allowance is represented as a fixed point number with the same amount of decimals as its relative terminal.\n_terminal The terminal to which the overflow allowance applies.\n_projectId The ID of the project to get the used overflow allowance of.\n_configuration The configuration of the during which the allowance was used."
            },
            "functionSelector": "d4c3a8d2",
            "mutability": "mutable",
            "name": "usedOverflowAllowanceOf",
            "nameLocation": "5055:23:66",
            "overrides": {
              "id": 16849,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5046:8:66"
            },
            "scope": 18152,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
            },
            "typeName": {
              "id": 16848,
              "keyType": {
                "id": 16842,
                "nodeType": "UserDefinedTypeName",
                "pathNode": {
                  "id": 16841,
                  "name": "IJBSingleTokenPaymentTerminal",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 23154,
                  "src": "4949:29:66"
                },
                "referencedDeclaration": 23154,
                "src": "4949:29:66",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                  "typeString": "contract IJBSingleTokenPaymentTerminal"
                }
              },
              "nodeType": "Mapping",
              "src": "4941:89:66",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
              },
              "valueType": {
                "id": 16847,
                "keyType": {
                  "id": 16843,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "4990:7:66",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "nodeType": "Mapping",
                "src": "4982:47:66",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                  "typeString": "mapping(uint256 => mapping(uint256 => uint256))"
                },
                "valueType": {
                  "id": 16846,
                  "keyType": {
                    "id": 16844,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5009:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "Mapping",
                  "src": "5001:27:66",
                  "typeDescriptions": {
                    "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                    "typeString": "mapping(uint256 => uint256)"
                  },
                  "valueType": {
                    "id": 16845,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5020:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 16875,
            "nodeType": "FunctionDefinition",
            "src": "5779:383:66",
            "nodes": [],
            "body": {
              "id": 16874,
              "nodeType": "Block",
              "src": "5926:236:66",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 16863,
                        "name": "_terminal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16854,
                        "src": "6041:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        }
                      },
                      {
                        "id": 16864,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16856,
                        "src": "6060:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "id": 16867,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16856,
                            "src": "6108:10:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 16865,
                            "name": "fundingCycleStore",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16814,
                            "src": "6080:17:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                              "typeString": "contract IJBFundingCycleStore"
                            }
                          },
                          "id": 16866,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "currentOf",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 38609,
                          "src": "6080:27:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                            "typeString": "function (uint256) view external returns (struct JBFundingCycle memory)"
                          }
                        },
                        "id": 16868,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6080:39:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      {
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "id": 16869,
                            "name": "_terminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16854,
                            "src": "6129:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "id": 16870,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "currency",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 23148,
                          "src": "6129:18:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                            "typeString": "function () view external returns (uint256)"
                          }
                        },
                        "id": 16871,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6129:20:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 16862,
                      "name": "_overflowDuring",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18066,
                      "src": "6016:15:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (contract IJBSingleTokenPaymentTerminal,uint256,struct JBFundingCycle memory,uint256) view returns (uint256)"
                      }
                    },
                    "id": 16872,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6016:141:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 16861,
                  "id": 16873,
                  "nodeType": "Return",
                  "src": "6003:154:66"
                }
              ]
            },
            "baseFunctions": [
              23226
            ],
            "documentation": {
              "id": 16851,
              "nodeType": "StructuredDocumentation",
              "src": "5312:464:66",
              "text": "@notice\nGets the current overflowed amount in a terminal for a specified project.\n@dev\nThe current overflow is represented as a fixed point number with the same amount of decimals as the specified terminal.\n@param _terminal The terminal for which the overflow is being calculated.\n@param _projectId The ID of the project to get overflow for.\n@return The current amount of overflow that project has in the specified terminal."
            },
            "functionSelector": "d49031c0",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "currentOverflowOf",
            "nameLocation": "5788:17:66",
            "overrides": {
              "id": 16858,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5893:8:66"
            },
            "parameters": {
              "id": 16857,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16854,
                  "mutability": "mutable",
                  "name": "_terminal",
                  "nameLocation": "5836:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16875,
                  "src": "5806:39:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                    "typeString": "contract IJBSingleTokenPaymentTerminal"
                  },
                  "typeName": {
                    "id": 16853,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 16852,
                      "name": "IJBSingleTokenPaymentTerminal",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23154,
                      "src": "5806:29:66"
                    },
                    "referencedDeclaration": 23154,
                    "src": "5806:29:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                      "typeString": "contract IJBSingleTokenPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16856,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "5855:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16875,
                  "src": "5847:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16855,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5847:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5805:61:66"
            },
            "returnParameters": {
              "id": 16861,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16860,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16875,
                  "src": "5915:7:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16859,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5915:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5914:9:66"
            },
            "scope": 18152,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 16895,
            "nodeType": "FunctionDefinition",
            "src": "6606:222:66",
            "nodes": [],
            "body": {
              "id": 16894,
              "nodeType": "Block",
              "src": "6753:75:66",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 16889,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16878,
                        "src": "6790:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 16890,
                        "name": "_decimals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16880,
                        "src": "6802:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 16891,
                        "name": "_currency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16882,
                        "src": "6813:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 16888,
                      "name": "_currentTotalOverflowOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18151,
                      "src": "6766:23:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 16892,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6766:57:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 16887,
                  "id": 16893,
                  "nodeType": "Return",
                  "src": "6759:64:66"
                }
              ]
            },
            "baseFunctions": [
              23237
            ],
            "documentation": {
              "id": 16876,
              "nodeType": "StructuredDocumentation",
              "src": "6166:437:66",
              "text": "@notice\nGets the current overflowed amount for a specified project across all terminals.\n@param _projectId The ID of the project to get total overflow for.\n@param _decimals The number of decimals that the fixed point overflow should include.\n@param _currency The currency that the total overflow should be in terms of.\n@return The current total amount of overflow that project has across all terminals."
            },
            "functionSelector": "b753d7e9",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "currentTotalOverflowOf",
            "nameLocation": "6615:22:66",
            "overrides": {
              "id": 16884,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "6726:8:66"
            },
            "parameters": {
              "id": 16883,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16878,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "6651:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16895,
                  "src": "6643:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16877,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6643:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16880,
                  "mutability": "mutable",
                  "name": "_decimals",
                  "nameLocation": "6675:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16895,
                  "src": "6667:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16879,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6667:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16882,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "6698:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16895,
                  "src": "6690:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16881,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6690:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6637:74:66"
            },
            "returnParameters": {
              "id": 16887,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16886,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16895,
                  "src": "6744:7:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16885,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6744:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6743:9:66"
            },
            "scope": 18152,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 16977,
            "nodeType": "FunctionDefinition",
            "src": "8070:1420:66",
            "nodes": [],
            "body": {
              "id": 16976,
              "nodeType": "Block",
              "src": "8275:1215:66",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    16913
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 16913,
                      "mutability": "mutable",
                      "name": "_fundingCycle",
                      "nameLocation": "8366:13:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 16976,
                      "src": "8344:35:66",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle"
                      },
                      "typeName": {
                        "id": 16912,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 16911,
                          "name": "JBFundingCycle",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35849,
                          "src": "8344:14:66"
                        },
                        "referencedDeclaration": 35849,
                        "src": "8344:14:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                          "typeString": "struct JBFundingCycle"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 16918,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 16916,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16901,
                        "src": "8410:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 16914,
                        "name": "fundingCycleStore",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16814,
                        "src": "8382:17:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                          "typeString": "contract IJBFundingCycleStore"
                        }
                      },
                      "id": 16915,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "currentOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 38609,
                      "src": "8382:27:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                        "typeString": "function (uint256) view external returns (struct JBFundingCycle memory)"
                      }
                    },
                    "id": 16917,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "8382:39:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                      "typeString": "struct JBFundingCycle memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8344:77:66"
                },
                {
                  "assignments": [
                    16920
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 16920,
                      "mutability": "mutable",
                      "name": "_currentOverflow",
                      "nameLocation": "8642:16:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 16976,
                      "src": "8634:24:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 16919,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "8634:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 16940,
                  "initialValue": {
                    "condition": {
                      "id": 16921,
                      "name": "_useTotalOverflow",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16905,
                      "src": "8661:17:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "arguments": [
                        {
                          "id": 16932,
                          "name": "_terminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16899,
                          "src": "8791:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        {
                          "id": 16933,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16901,
                          "src": "8802:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 16934,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16913,
                          "src": "8814:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "expression": {
                              "id": 16935,
                              "name": "_terminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16899,
                              "src": "8829:9:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                "typeString": "contract IJBSingleTokenPaymentTerminal"
                              }
                            },
                            "id": 16936,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "currency",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 23148,
                            "src": "8829:18:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                              "typeString": "function () view external returns (uint256)"
                            }
                          },
                          "id": 16937,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8829:20:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 16931,
                        "name": "_overflowDuring",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18066,
                        "src": "8775:15:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (contract IJBSingleTokenPaymentTerminal,uint256,struct JBFundingCycle memory,uint256) view returns (uint256)"
                        }
                      },
                      "id": 16938,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "8775:75:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 16939,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "8661:189:66",
                    "trueExpression": {
                      "arguments": [
                        {
                          "id": 16923,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16901,
                          "src": "8711:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "expression": {
                              "id": 16924,
                              "name": "_terminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16899,
                              "src": "8723:9:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                "typeString": "contract IJBSingleTokenPaymentTerminal"
                              }
                            },
                            "id": 16925,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "decimals",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 23153,
                            "src": "8723:18:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                              "typeString": "function () view external returns (uint256)"
                            }
                          },
                          "id": 16926,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8723:20:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "expression": {
                              "id": 16927,
                              "name": "_terminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16899,
                              "src": "8745:9:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                "typeString": "contract IJBSingleTokenPaymentTerminal"
                              }
                            },
                            "id": 16928,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "currency",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 23148,
                            "src": "8745:18:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                              "typeString": "function () view external returns (uint256)"
                            }
                          },
                          "id": 16929,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8745:20:66",
                          "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"
                          }
                        ],
                        "id": 16922,
                        "name": "_currentTotalOverflowOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18151,
                        "src": "8687:23:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) view returns (uint256)"
                        }
                      },
                      "id": 16930,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "8687:79:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8634:216:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 16943,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 16941,
                      "name": "_currentOverflow",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16920,
                      "src": "8925:16:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 16942,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8945:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8925:21:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 16946,
                  "nodeType": "IfStatement",
                  "src": "8921:35:66",
                  "trueBody": {
                    "expression": {
                      "hexValue": "30",
                      "id": 16944,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8955:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "functionReturnParameters": 16910,
                    "id": 16945,
                    "nodeType": "Return",
                    "src": "8948:8:66"
                  }
                },
                {
                  "assignments": [
                    16948
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 16948,
                      "mutability": "mutable",
                      "name": "_totalSupply",
                      "nameLocation": "9032:12:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 16976,
                      "src": "9024:20:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 16947,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "9024:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 16961,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 16956,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16901,
                        "src": "9129:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "id": 16957,
                            "name": "_fundingCycle",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16913,
                            "src": "9141:13:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                              "typeString": "struct JBFundingCycle memory"
                            }
                          },
                          "id": 16958,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "reservedRate",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 23449,
                          "src": "9141:26:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_uint256_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                            "typeString": "function (struct JBFundingCycle memory) pure returns (uint256)"
                          }
                        },
                        "id": 16959,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9141:28:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "arguments": [
                          {
                            "arguments": [
                              {
                                "id": 16952,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16901,
                                "src": "9084:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "id": 16950,
                                "name": "directory",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16809,
                                "src": "9061:9:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                                  "typeString": "contract IJBDirectory"
                                }
                              },
                              "id": 16951,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "controllerOf",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 31854,
                              "src": "9061:22:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                                "typeString": "function (uint256) view external returns (address)"
                              }
                            },
                            "id": 16953,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "9061:34:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 16949,
                          "name": "IJBController",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 38113,
                          "src": "9047:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IJBController_$38113_$",
                            "typeString": "type(contract IJBController)"
                          }
                        },
                        "id": 16954,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9047:49:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBController_$38113",
                          "typeString": "contract IJBController"
                        }
                      },
                      "id": 16955,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "totalOutstandingTokensOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37908,
                      "src": "9047:81:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256,uint256) view external returns (uint256)"
                      }
                    },
                    "id": 16960,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "9047:123:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9024:146:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 16964,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 16962,
                      "name": "_tokenCount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16903,
                      "src": "9236:11:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "id": 16963,
                      "name": "_totalSupply",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16948,
                      "src": "9250:12:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "9236:26:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 16967,
                  "nodeType": "IfStatement",
                  "src": "9232:40:66",
                  "trueBody": {
                    "expression": {
                      "hexValue": "30",
                      "id": 16965,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9271:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "functionReturnParameters": 16910,
                    "id": 16966,
                    "nodeType": "Return",
                    "src": "9264:8:66"
                  }
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 16969,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16901,
                        "src": "9375:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 16970,
                        "name": "_fundingCycle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16913,
                        "src": "9395:13:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      {
                        "id": 16971,
                        "name": "_tokenCount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16903,
                        "src": "9418:11:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 16972,
                        "name": "_totalSupply",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16948,
                        "src": "9439:12:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 16973,
                        "name": "_currentOverflow",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16920,
                        "src": "9461:16:66",
                        "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_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 16968,
                      "name": "_reclaimableOverflowDuring",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17969,
                      "src": "9339:26:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256,struct JBFundingCycle memory,uint256,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 16974,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "9339:146:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 16910,
                  "id": 16975,
                  "nodeType": "Return",
                  "src": "9326:159:66"
                }
              ]
            },
            "baseFunctions": [
              23251
            ],
            "documentation": {
              "id": 16896,
              "nodeType": "StructuredDocumentation",
              "src": "6832:1235:66",
              "text": "@notice\nThe current amount of overflowed tokens from a terminal that can be reclaimed by the specified number of tokens, using the total token supply and overflow in the ecosystem.\n@dev \nIf the project has an active funding cycle reconfiguration ballot, the project's ballot redemption rate is used.\n@dev\nThe current reclaimable overflow is returned in terms of the specified terminal's currency.\n@dev\nThe reclaimable overflow is represented as a fixed point number with the same amount of decimals as the specified terminal.\n@param _terminal The terminal from which the reclaimable amount would come.\n@param _projectId The ID of the project to get the reclaimable overflow amount for.\n@param _tokenCount The number of tokens to make the calculation with, as a fixed point number with 18 decimals.\n@param _useTotalOverflow A flag indicating whether the overflow used in the calculation should be summed from all of the project's terminals. If false, overflow should be limited to the amount in the specified `_terminal`.\n@return The amount of overflowed tokens that can be reclaimed, as a fixed point number with the same number of decimals as the provided `_terminal`."
            },
            "functionSelector": "c294b2f4",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "currentReclaimableOverflowOf",
            "nameLocation": "8079:28:66",
            "overrides": {
              "id": 16907,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "8248:8:66"
            },
            "parameters": {
              "id": 16906,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16899,
                  "mutability": "mutable",
                  "name": "_terminal",
                  "nameLocation": "8143:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16977,
                  "src": "8113:39:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                    "typeString": "contract IJBSingleTokenPaymentTerminal"
                  },
                  "typeName": {
                    "id": 16898,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 16897,
                      "name": "IJBSingleTokenPaymentTerminal",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23154,
                      "src": "8113:29:66"
                    },
                    "referencedDeclaration": 23154,
                    "src": "8113:29:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                      "typeString": "contract IJBSingleTokenPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16901,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "8166:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16977,
                  "src": "8158:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16900,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "8158:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16903,
                  "mutability": "mutable",
                  "name": "_tokenCount",
                  "nameLocation": "8190:11:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16977,
                  "src": "8182:19:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16902,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "8182:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16905,
                  "mutability": "mutable",
                  "name": "_useTotalOverflow",
                  "nameLocation": "8212:17:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 16977,
                  "src": "8207:22:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 16904,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "8207:4:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8107:126:66"
            },
            "returnParameters": {
              "id": 16910,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16909,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16977,
                  "src": "8266:7:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16908,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "8266:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8265:9:66"
            },
            "scope": 18152,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 17021,
            "nodeType": "FunctionDefinition",
            "src": "10404:691:66",
            "nodes": [],
            "body": {
              "id": 17020,
              "nodeType": "Block",
              "src": "10585:510:66",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 16994,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 16992,
                      "name": "_overflow",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16986,
                      "src": "10659:9:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 16993,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "10672:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "10659:14:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 16997,
                  "nodeType": "IfStatement",
                  "src": "10655:28:66",
                  "trueBody": {
                    "expression": {
                      "hexValue": "30",
                      "id": 16995,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "10682:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "functionReturnParameters": 16991,
                    "id": 16996,
                    "nodeType": "Return",
                    "src": "10675:8:66"
                  }
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17000,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 16998,
                      "name": "_tokenCount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16982,
                      "src": "10749:11:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "id": 16999,
                      "name": "_totalSupply",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16984,
                      "src": "10763:12:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "10749:26:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17003,
                  "nodeType": "IfStatement",
                  "src": "10745:40:66",
                  "trueBody": {
                    "expression": {
                      "hexValue": "30",
                      "id": 17001,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "10784:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "functionReturnParameters": 16991,
                    "id": 17002,
                    "nodeType": "Return",
                    "src": "10777:8:66"
                  }
                },
                {
                  "assignments": [
                    17006
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17006,
                      "mutability": "mutable",
                      "name": "_fundingCycle",
                      "nameLocation": "10877:13:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17020,
                      "src": "10855:35:66",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle"
                      },
                      "typeName": {
                        "id": 17005,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 17004,
                          "name": "JBFundingCycle",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35849,
                          "src": "10855:14:66"
                        },
                        "referencedDeclaration": 35849,
                        "src": "10855:14:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                          "typeString": "struct JBFundingCycle"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17011,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 17009,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16980,
                        "src": "10921:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 17007,
                        "name": "fundingCycleStore",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16814,
                        "src": "10893:17:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                          "typeString": "contract IJBFundingCycleStore"
                        }
                      },
                      "id": 17008,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "currentOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 38609,
                      "src": "10893:27:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                        "typeString": "function (uint256) view external returns (struct JBFundingCycle memory)"
                      }
                    },
                    "id": 17010,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10893:39:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                      "typeString": "struct JBFundingCycle memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10855:77:66"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 17013,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16980,
                        "src": "11026:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 17014,
                        "name": "_fundingCycle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17006,
                        "src": "11038:13:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      {
                        "id": 17015,
                        "name": "_tokenCount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16982,
                        "src": "11053:11:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 17016,
                        "name": "_totalSupply",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16984,
                        "src": "11066:12:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 17017,
                        "name": "_overflow",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16986,
                        "src": "11080:9:66",
                        "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_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 17012,
                      "name": "_reclaimableOverflowDuring",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17969,
                      "src": "10999:26:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256,struct JBFundingCycle memory,uint256,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 17018,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10999:91:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 16991,
                  "id": 17019,
                  "nodeType": "Return",
                  "src": "10986:104:66"
                }
              ]
            },
            "baseFunctions": [
              23264
            ],
            "documentation": {
              "id": 16978,
              "nodeType": "StructuredDocumentation",
              "src": "9494:907:66",
              "text": "@notice\nThe current amount of overflowed tokens from a terminal that can be reclaimed by the specified number of tokens, using the specified total token supply and overflow amounts.\n@dev \nIf the project has an active funding cycle reconfiguration ballot, the project's ballot redemption rate is used.\n@param _projectId The ID of the project to get the reclaimable overflow amount for.\n@param _tokenCount The number of tokens to make the calculation with, as a fixed point number with 18 decimals.\n@param _totalSupply The total number of tokens to make the calculation with, as a fixed point number with 18 decimals.\n@param _overflow The amount of overflow to make the calculation with, as a fixed point number.\n@return The amount of overflowed tokens that can be reclaimed, as a fixed point number with the same number of decimals as the provided `_overflow`."
            },
            "functionSelector": "a57c7f59",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "currentReclaimableOverflowOf",
            "nameLocation": "10413:28:66",
            "overrides": {
              "id": 16988,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "10558:8:66"
            },
            "parameters": {
              "id": 16987,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16980,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "10455:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17021,
                  "src": "10447:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16979,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10447:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16982,
                  "mutability": "mutable",
                  "name": "_tokenCount",
                  "nameLocation": "10479:11:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17021,
                  "src": "10471:19:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16981,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10471:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16984,
                  "mutability": "mutable",
                  "name": "_totalSupply",
                  "nameLocation": "10504:12:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17021,
                  "src": "10496:20:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16983,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10496:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16986,
                  "mutability": "mutable",
                  "name": "_overflow",
                  "nameLocation": "10530:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17021,
                  "src": "10522:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16985,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10522:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10441:102:66"
            },
            "returnParameters": {
              "id": 16991,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16990,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17021,
                  "src": "10576:7:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16989,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10576:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10575:9:66"
            },
            "scope": 18152,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 17047,
            "nodeType": "FunctionDefinition",
            "src": "11578:212:66",
            "nodes": [],
            "body": {
              "id": 17046,
              "nodeType": "Block",
              "src": "11691:99:66",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 17036,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17034,
                      "name": "directory",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16809,
                      "src": "11697:9:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                        "typeString": "contract IJBDirectory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 17035,
                      "name": "_directory",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17025,
                      "src": "11709:10:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                        "typeString": "contract IJBDirectory"
                      }
                    },
                    "src": "11697:22:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                      "typeString": "contract IJBDirectory"
                    }
                  },
                  "id": 17037,
                  "nodeType": "ExpressionStatement",
                  "src": "11697:22:66"
                },
                {
                  "expression": {
                    "id": 17040,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17038,
                      "name": "fundingCycleStore",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16814,
                      "src": "11725:17:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                        "typeString": "contract IJBFundingCycleStore"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 17039,
                      "name": "_fundingCycleStore",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17028,
                      "src": "11745:18:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                        "typeString": "contract IJBFundingCycleStore"
                      }
                    },
                    "src": "11725:38:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                      "typeString": "contract IJBFundingCycleStore"
                    }
                  },
                  "id": 17041,
                  "nodeType": "ExpressionStatement",
                  "src": "11725:38:66"
                },
                {
                  "expression": {
                    "id": 17044,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17042,
                      "name": "prices",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 16819,
                      "src": "11769:6:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPrices_$23109",
                        "typeString": "contract IJBPrices"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 17043,
                      "name": "_prices",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17031,
                      "src": "11778:7:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IJBPrices_$23109",
                        "typeString": "contract IJBPrices"
                      }
                    },
                    "src": "11769:16:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPrices_$23109",
                      "typeString": "contract IJBPrices"
                    }
                  },
                  "id": 17045,
                  "nodeType": "ExpressionStatement",
                  "src": "11769:16:66"
                }
              ]
            },
            "documentation": {
              "id": 17022,
              "nodeType": "StructuredDocumentation",
              "src": "11328:247:66",
              "text": "@param _directory A contract storing directories of terminals and controllers for each project.\n@param _fundingCycleStore A contract storing all funding cycle configurations.\n@param _prices A contract that exposes price feeds."
            },
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "parameters": {
              "id": 17032,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17025,
                  "mutability": "mutable",
                  "name": "_directory",
                  "nameLocation": "11608:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17047,
                  "src": "11595:23:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                    "typeString": "contract IJBDirectory"
                  },
                  "typeName": {
                    "id": 17024,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17023,
                      "name": "IJBDirectory",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 31924,
                      "src": "11595:12:66"
                    },
                    "referencedDeclaration": 31924,
                    "src": "11595:12:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                      "typeString": "contract IJBDirectory"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17028,
                  "mutability": "mutable",
                  "name": "_fundingCycleStore",
                  "nameLocation": "11645:18:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17047,
                  "src": "11624:39:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                    "typeString": "contract IJBFundingCycleStore"
                  },
                  "typeName": {
                    "id": 17027,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17026,
                      "name": "IJBFundingCycleStore",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 38633,
                      "src": "11624:20:66"
                    },
                    "referencedDeclaration": 38633,
                    "src": "11624:20:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                      "typeString": "contract IJBFundingCycleStore"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17031,
                  "mutability": "mutable",
                  "name": "_prices",
                  "nameLocation": "11679:7:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17047,
                  "src": "11669:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPrices_$23109",
                    "typeString": "contract IJBPrices"
                  },
                  "typeName": {
                    "id": 17030,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17029,
                      "name": "IJBPrices",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23109,
                      "src": "11669:9:66"
                    },
                    "referencedDeclaration": 23109,
                    "src": "11669:9:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPrices_$23109",
                      "typeString": "contract IJBPrices"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "11589:101:66"
            },
            "returnParameters": {
              "id": 17033,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "11691:0:66"
            },
            "scope": 18152,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "id": 17232,
            "nodeType": "FunctionDefinition",
            "src": "13457:2948:66",
            "nodes": [],
            "body": {
              "id": 17231,
              "nodeType": "Block",
              "src": "13871:2534:66",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 17084,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17079,
                      "name": "fundingCycle",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17070,
                      "src": "13946:12:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle memory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 17082,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17055,
                          "src": "13989:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 17080,
                          "name": "fundingCycleStore",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16814,
                          "src": "13961:17:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                            "typeString": "contract IJBFundingCycleStore"
                          }
                        },
                        "id": 17081,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "currentOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 38609,
                        "src": "13961:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                          "typeString": "function (uint256) view external returns (struct JBFundingCycle memory)"
                        }
                      },
                      "id": 17083,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "13961:39:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle memory"
                      }
                    },
                    "src": "13946:54:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                      "typeString": "struct JBFundingCycle memory"
                    }
                  },
                  "id": 17085,
                  "nodeType": "ExpressionStatement",
                  "src": "13946:54:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17089,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "expression": {
                        "id": 17086,
                        "name": "fundingCycle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17070,
                        "src": "14068:12:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      "id": 17087,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "number",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 35831,
                      "src": "14068:19:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 17088,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "14091:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "14068:24:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17093,
                  "nodeType": "IfStatement",
                  "src": "14064:60:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17090,
                        "name": "INVALID_FUNDING_CYCLE",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16798,
                        "src": "14101:21:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17091,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "14101:23:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17092,
                    "nodeType": "RevertStatement",
                    "src": "14094:30:66"
                  }
                },
                {
                  "condition": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "id": 17094,
                        "name": "fundingCycle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17070,
                        "src": "14162:12:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      "id": 17095,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "payPaused",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23515,
                      "src": "14162:22:66",
                      "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": 17096,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14162:24:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17100,
                  "nodeType": "IfStatement",
                  "src": "14158:67:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17097,
                        "name": "FUNDING_CYCLE_PAYMENT_PAUSED",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16786,
                        "src": "14195:28:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17098,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "14195:30:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17099,
                    "nodeType": "RevertStatement",
                    "src": "14188:37:66"
                  }
                },
                {
                  "assignments": [
                    17102
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17102,
                      "mutability": "mutable",
                      "name": "_weight",
                      "nameLocation": "14353:7:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17231,
                      "src": "14345:15:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17101,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "14345:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17103,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "14345:15:66"
                },
                {
                  "condition": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "id": 17104,
                        "name": "fundingCycle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17070,
                        "src": "14465:12:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      "id": 17105,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "useDataSourceForPay",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23714,
                      "src": "14465:32:66",
                      "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": 17106,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14465:34:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 17154,
                    "nodeType": "Block",
                    "src": "15074:64:66",
                    "statements": [
                      {
                        "expression": {
                          "id": 17148,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 17145,
                            "name": "_weight",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17102,
                            "src": "15082:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "expression": {
                              "id": 17146,
                              "name": "fundingCycle",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17070,
                              "src": "15092:12:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                "typeString": "struct JBFundingCycle memory"
                              }
                            },
                            "id": 17147,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "weight",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 35841,
                            "src": "15092:19:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15082:29:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 17149,
                        "nodeType": "ExpressionStatement",
                        "src": "15082:29:66"
                      },
                      {
                        "expression": {
                          "id": 17152,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 17150,
                            "name": "memo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17077,
                            "src": "15119:4:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_string_memory_ptr",
                              "typeString": "string memory"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "id": 17151,
                            "name": "_memo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17061,
                            "src": "15126:5:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_string_calldata_ptr",
                              "typeString": "string calldata"
                            }
                          },
                          "src": "15119:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_string_memory_ptr",
                            "typeString": "string memory"
                          }
                        },
                        "id": 17153,
                        "nodeType": "ExpressionStatement",
                        "src": "15119:12:66"
                      }
                    ]
                  },
                  "id": 17155,
                  "nodeType": "IfStatement",
                  "src": "14461:677:66",
                  "trueBody": {
                    "id": 17144,
                    "nodeType": "Block",
                    "src": "14501:515:66",
                    "statements": [
                      {
                        "assignments": [
                          17109
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 17109,
                            "mutability": "mutable",
                            "name": "_data",
                            "nameLocation": "14595:5:66",
                            "nodeType": "VariableDeclaration",
                            "scope": 17144,
                            "src": "14572:28:66",
                            "stateVariable": false,
                            "storageLocation": "memory",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBPayParamsData_$35939_memory_ptr",
                              "typeString": "struct JBPayParamsData"
                            },
                            "typeName": {
                              "id": 17108,
                              "nodeType": "UserDefinedTypeName",
                              "pathNode": {
                                "id": 17107,
                                "name": "JBPayParamsData",
                                "nodeType": "IdentifierPath",
                                "referencedDeclaration": 35939,
                                "src": "14572:15:66"
                              },
                              "referencedDeclaration": 35939,
                              "src": "14572:15:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBPayParamsData_$35939_storage_ptr",
                                "typeString": "struct JBPayParamsData"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 17129,
                        "initialValue": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "expression": {
                                    "id": 17112,
                                    "name": "msg",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": -15,
                                    "src": "14658:3:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_magic_message",
                                      "typeString": "msg"
                                    }
                                  },
                                  "id": 17113,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "sender",
                                  "nodeType": "MemberAccess",
                                  "src": "14658:10:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 17111,
                                "name": "IJBSingleTokenPaymentTerminal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 23154,
                                "src": "14628:29:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                  "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                }
                              },
                              "id": 17114,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "14628:41:66",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                "typeString": "contract IJBSingleTokenPaymentTerminal"
                              }
                            },
                            {
                              "id": 17115,
                              "name": "_payer",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17050,
                              "src": "14679:6:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 17116,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17053,
                              "src": "14695:7:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                                "typeString": "struct JBTokenAmount calldata"
                              }
                            },
                            {
                              "id": 17117,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17055,
                              "src": "14712:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "expression": {
                                "id": 17118,
                                "name": "fundingCycle",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17070,
                                "src": "14732:12:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                  "typeString": "struct JBFundingCycle memory"
                                }
                              },
                              "id": 17119,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "configuration",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 35833,
                              "src": "14732:26:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 17120,
                              "name": "_beneficiary",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17059,
                              "src": "14768:12:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "expression": {
                                "id": 17121,
                                "name": "fundingCycle",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17070,
                                "src": "14790:12:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                  "typeString": "struct JBFundingCycle memory"
                                }
                              },
                              "id": 17122,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "weight",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 35841,
                              "src": "14790:19:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "expression": {
                                  "id": 17123,
                                  "name": "fundingCycle",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17070,
                                  "src": "14819:12:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                    "typeString": "struct JBFundingCycle memory"
                                  }
                                },
                                "id": 17124,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "reservedRate",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 23449,
                                "src": "14819:25:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_uint256_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                                  "typeString": "function (struct JBFundingCycle memory) pure returns (uint256)"
                                }
                              },
                              "id": 17125,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "14819:27:66",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 17126,
                              "name": "_memo",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17061,
                              "src": "14856:5:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_string_calldata_ptr",
                                "typeString": "string calldata"
                              }
                            },
                            {
                              "id": 17127,
                              "name": "_metadata",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17063,
                              "src": "14871:9:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                "typeString": "contract IJBSingleTokenPaymentTerminal"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                                "typeString": "struct JBTokenAmount calldata"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_string_calldata_ptr",
                                "typeString": "string calldata"
                              },
                              {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            ],
                            "id": 17110,
                            "name": "JBPayParamsData",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 35939,
                            "src": "14603:15:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_struct$_JBPayParamsData_$35939_storage_ptr_$",
                              "typeString": "type(struct JBPayParamsData storage pointer)"
                            }
                          },
                          "id": 17128,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "structConstructorCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "14603:285:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBPayParamsData_$35939_memory_ptr",
                            "typeString": "struct JBPayParamsData memory"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "14572:316:66"
                      },
                      {
                        "expression": {
                          "id": 17142,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "components": [
                              {
                                "id": 17130,
                                "name": "_weight",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17102,
                                "src": "14897:7:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 17131,
                                "name": "memo",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17077,
                                "src": "14906:4:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_string_memory_ptr",
                                  "typeString": "string memory"
                                }
                              },
                              {
                                "id": 17132,
                                "name": "delegate",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17075,
                                "src": "14912:8:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                                  "typeString": "contract IJBPayDelegate"
                                }
                              }
                            ],
                            "id": 17133,
                            "isConstant": false,
                            "isInlineArray": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "TupleExpression",
                            "src": "14896:25:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$_t_uint256_$_t_string_memory_ptr_$_t_contract$_IJBPayDelegate_$38522_$",
                              "typeString": "tuple(uint256,string memory,contract IJBPayDelegate)"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "arguments": [
                              {
                                "id": 17140,
                                "name": "_data",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17109,
                                "src": "14996:5:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBPayParamsData_$35939_memory_ptr",
                                  "typeString": "struct JBPayParamsData memory"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_struct$_JBPayParamsData_$35939_memory_ptr",
                                  "typeString": "struct JBPayParamsData memory"
                                }
                              ],
                              "expression": {
                                "arguments": [
                                  {
                                    "arguments": [],
                                    "expression": {
                                      "argumentTypes": [],
                                      "expression": {
                                        "id": 17135,
                                        "name": "fundingCycle",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 17070,
                                        "src": "14950:12:66",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                          "typeString": "struct JBFundingCycle memory"
                                        }
                                      },
                                      "id": 17136,
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "dataSource",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 23753,
                                      "src": "14950:23:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                                        "typeString": "function (struct JBFundingCycle memory) pure returns (address)"
                                      }
                                    },
                                    "id": 17137,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "14950:25:66",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  ],
                                  "id": 17134,
                                  "name": "IJBFundingCycleDataSource",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 38673,
                                  "src": "14924:25:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_IJBFundingCycleDataSource_$38673_$",
                                    "typeString": "type(contract IJBFundingCycleDataSource)"
                                  }
                                },
                                "id": 17138,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "14924:52:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBFundingCycleDataSource_$38673",
                                  "typeString": "contract IJBFundingCycleDataSource"
                                }
                              },
                              "id": 17139,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "payParams",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 38658,
                              "src": "14924:62:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_nonpayable$_t_struct$_JBPayParamsData_$35939_memory_ptr_$returns$_t_uint256_$_t_string_memory_ptr_$_t_contract$_IJBPayDelegate_$38522_$",
                                "typeString": "function (struct JBPayParamsData memory) external returns (uint256,string memory,contract IJBPayDelegate)"
                              }
                            },
                            "id": 17141,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "14924:85:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$_t_uint256_$_t_string_memory_ptr_$_t_contract$_IJBPayDelegate_$38522_$",
                              "typeString": "tuple(uint256,string memory,contract IJBPayDelegate)"
                            }
                          },
                          "src": "14896:113:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 17143,
                        "nodeType": "ExpressionStatement",
                        "src": "14896:113:66"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17159,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "expression": {
                        "id": 17156,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17053,
                        "src": "15220:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                          "typeString": "struct JBTokenAmount calldata"
                        }
                      },
                      "id": 17157,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 38502,
                      "src": "15220:13:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 17158,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15237:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "15220:18:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17166,
                  "nodeType": "IfStatement",
                  "src": "15216:64:66",
                  "trueBody": {
                    "expression": {
                      "components": [
                        {
                          "id": 17160,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17070,
                          "src": "15248:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        {
                          "hexValue": "30",
                          "id": 17161,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "15262:1:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        {
                          "id": 17162,
                          "name": "delegate",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17075,
                          "src": "15265:8:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                            "typeString": "contract IJBPayDelegate"
                          }
                        },
                        {
                          "id": 17163,
                          "name": "memo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17077,
                          "src": "15275:4:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_string_memory_ptr",
                            "typeString": "string memory"
                          }
                        }
                      ],
                      "id": 17164,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "15247:33:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_rational_0_by_1_$_t_contract$_IJBPayDelegate_$38522_$_t_string_memory_ptr_$",
                        "typeString": "tuple(struct JBFundingCycle memory,int_const 0,contract IJBPayDelegate,string memory)"
                      }
                    },
                    "functionReturnParameters": 17078,
                    "id": 17165,
                    "nodeType": "Return",
                    "src": "15240:40:66"
                  }
                },
                {
                  "expression": {
                    "id": 17186,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 17167,
                          "name": "balanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16828,
                          "src": "15346:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17173,
                        "indexExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17169,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "15386:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17170,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "15386:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17168,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "15356:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17171,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "15356:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "15346:52:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17174,
                      "indexExpression": {
                        "id": 17172,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17055,
                        "src": "15399:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "15346:64:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17185,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17175,
                            "name": "balanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16828,
                            "src": "15419:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 17180,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17177,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "15459:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17178,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "15459:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17176,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "15429:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17179,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "15429:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "15419:52:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 17182,
                        "indexExpression": {
                          "id": 17181,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17055,
                          "src": "15472:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "15419:64:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "+",
                      "rightExpression": {
                        "expression": {
                          "id": 17183,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17053,
                          "src": "15492:7:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                            "typeString": "struct JBTokenAmount calldata"
                          }
                        },
                        "id": 17184,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "value",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 38502,
                        "src": "15492:13:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "15419:86:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "15346:159:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17187,
                  "nodeType": "ExpressionStatement",
                  "src": "15346:159:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17190,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17188,
                      "name": "_weight",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17102,
                      "src": "15598:7:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 17189,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15609:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "15598:12:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17197,
                  "nodeType": "IfStatement",
                  "src": "15594:58:66",
                  "trueBody": {
                    "expression": {
                      "components": [
                        {
                          "id": 17191,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17070,
                          "src": "15620:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        {
                          "hexValue": "30",
                          "id": 17192,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "15634:1:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        {
                          "id": 17193,
                          "name": "delegate",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17075,
                          "src": "15637:8:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                            "typeString": "contract IJBPayDelegate"
                          }
                        },
                        {
                          "id": 17194,
                          "name": "memo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17077,
                          "src": "15647:4:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_string_memory_ptr",
                            "typeString": "string memory"
                          }
                        }
                      ],
                      "id": 17195,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "15619:33:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_rational_0_by_1_$_t_contract$_IJBPayDelegate_$38522_$_t_string_memory_ptr_$",
                        "typeString": "tuple(struct JBFundingCycle memory,int_const 0,contract IJBPayDelegate,string memory)"
                      }
                    },
                    "functionReturnParameters": 17078,
                    "id": 17196,
                    "nodeType": "Return",
                    "src": "15612:40:66"
                  }
                },
                {
                  "assignments": [
                    17199
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17199,
                      "mutability": "mutable",
                      "name": "_decimals",
                      "nameLocation": "15758:9:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17231,
                      "src": "15750:17:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17198,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "15750:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17202,
                  "initialValue": {
                    "expression": {
                      "id": 17200,
                      "name": "_amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17053,
                      "src": "15770:7:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                        "typeString": "struct JBTokenAmount calldata"
                      }
                    },
                    "id": 17201,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "decimals",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 38504,
                    "src": "15770:16:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "15750:36:66"
                },
                {
                  "assignments": [
                    17204
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17204,
                      "mutability": "mutable",
                      "name": "_weightRatio",
                      "nameLocation": "16073:12:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17231,
                      "src": "16065:20:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17203,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "16065:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17220,
                  "initialValue": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17208,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "expression": {
                          "id": 17205,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17053,
                          "src": "16088:7:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                            "typeString": "struct JBTokenAmount calldata"
                          }
                        },
                        "id": 17206,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "currency",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 38506,
                        "src": "16088:16:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "id": 17207,
                        "name": "_baseWeightCurrency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17057,
                        "src": "16108:19:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "16088:39:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "arguments": [
                        {
                          "expression": {
                            "id": 17214,
                            "name": "_amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17053,
                            "src": "16174:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                              "typeString": "struct JBTokenAmount calldata"
                            }
                          },
                          "id": 17215,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "currency",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 38506,
                          "src": "16174:16:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 17216,
                          "name": "_baseWeightCurrency",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17057,
                          "src": "16192:19:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 17217,
                          "name": "_decimals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17199,
                          "src": "16213:9:66",
                          "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": 17212,
                          "name": "prices",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16819,
                          "src": "16158:6:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPrices_$23109",
                            "typeString": "contract IJBPrices"
                          }
                        },
                        "id": 17213,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "priceFor",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 23098,
                        "src": "16158:15:66",
                        "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": 17218,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "16158:65:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 17219,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "16088:135:66",
                    "trueExpression": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17211,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "hexValue": "3130",
                        "id": 17209,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "16136:2:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_10_by_1",
                          "typeString": "int_const 10"
                        },
                        "value": "10"
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "**",
                      "rightExpression": {
                        "id": 17210,
                        "name": "_decimals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17199,
                        "src": "16140:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "16136:13:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "16065:158:66"
                },
                {
                  "expression": {
                    "id": 17229,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17221,
                      "name": "tokenCount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17072,
                      "src": "16335:10:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "expression": {
                            "id": 17224,
                            "name": "_amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17053,
                            "src": "16363:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                              "typeString": "struct JBTokenAmount calldata"
                            }
                          },
                          "id": 17225,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "value",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 38502,
                          "src": "16363:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 17226,
                          "name": "_weight",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17102,
                          "src": "16378:7:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 17227,
                          "name": "_weightRatio",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17204,
                          "src": "16387:12:66",
                          "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": 17222,
                          "name": "PRBMath",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26107,
                          "src": "16348:7:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                            "typeString": "type(library PRBMath)"
                          }
                        },
                        "id": 17223,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mulDiv",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 25696,
                        "src": "16348:14:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 17228,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "16348:52:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "16335:65:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17230,
                  "nodeType": "ExpressionStatement",
                  "src": "16335:65:66"
                }
              ]
            },
            "baseFunctions": [
              23292
            ],
            "documentation": {
              "id": 17048,
              "nodeType": "StructuredDocumentation",
              "src": "12023:1431:66",
              "text": "@notice\nRecords newly contributed tokens to a project.\n@dev\nMint's the project's tokens according to values provided by a configured data source. If no data source is configured, mints tokens proportional to the amount of the contribution.\n@dev\nThe msg.sender must be an IJBSingleTokenPaymentTerminal. The amount specified in the params is in terms of the msg.sender's tokens.\n@param _payer The original address that sent the payment to the terminal.\n@param _amount The amount of tokens being paid. Includes the token being paid, the value, the number of decimals included, and the currency of the amount.\n@param _projectId The ID of the project being paid.\n@param _baseWeightCurrency The currency to base token issuance on.\n@param _beneficiary The specified address that should be the beneficiary of anything that results from the payment.\n@param _memo A memo to pass along to the emitted event, and passed along to the funding cycle's data source.\n@param _metadata Bytes to send along to the data source, if one is provided.\n@return fundingCycle The project's funding cycle during which payment was made.\n@return tokenCount The number of project tokens that were minted, as a fixed point number with 18 decimals.\n@return delegate A delegate contract to use for subsequent calls.\n@return memo A memo that should be passed along to the emitted event."
            },
            "functionSelector": "2fa1b391",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 17067,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 17066,
                  "name": "nonReentrant",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36634,
                  "src": "13712:12:66"
                },
                "nodeType": "ModifierInvocation",
                "src": "13712:12:66"
              }
            ],
            "name": "recordPaymentFrom",
            "nameLocation": "13466:17:66",
            "overrides": {
              "id": 17065,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "13699:8:66"
            },
            "parameters": {
              "id": 17064,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17050,
                  "mutability": "mutable",
                  "name": "_payer",
                  "nameLocation": "13497:6:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13489:14:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17049,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "13489:7:66",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17053,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "13532:7:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13509:30:66",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBTokenAmount_$38507_calldata_ptr",
                    "typeString": "struct JBTokenAmount"
                  },
                  "typeName": {
                    "id": 17052,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17051,
                      "name": "JBTokenAmount",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 38507,
                      "src": "13509:13:66"
                    },
                    "referencedDeclaration": 38507,
                    "src": "13509:13:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBTokenAmount_$38507_storage_ptr",
                      "typeString": "struct JBTokenAmount"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17055,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "13553:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13545:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17054,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13545:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17057,
                  "mutability": "mutable",
                  "name": "_baseWeightCurrency",
                  "nameLocation": "13577:19:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13569:27:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17056,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13569:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17059,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "13610:12:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13602:20:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17058,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "13602:7:66",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17061,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "13644:5:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13628:21:66",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 17060,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "13628:6:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17063,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "13668:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13655:22:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 17062,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "13655:5:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "13483:198:66"
            },
            "returnParameters": {
              "id": 17078,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17070,
                  "mutability": "mutable",
                  "name": "fundingCycle",
                  "nameLocation": "13767:12:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13745:34:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                    "typeString": "struct JBFundingCycle"
                  },
                  "typeName": {
                    "id": 17069,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17068,
                      "name": "JBFundingCycle",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 35849,
                      "src": "13745:14:66"
                    },
                    "referencedDeclaration": 35849,
                    "src": "13745:14:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                      "typeString": "struct JBFundingCycle"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17072,
                  "mutability": "mutable",
                  "name": "tokenCount",
                  "nameLocation": "13795:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13787:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17071,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13787:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17075,
                  "mutability": "mutable",
                  "name": "delegate",
                  "nameLocation": "13828:8:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13813:23:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                    "typeString": "contract IJBPayDelegate"
                  },
                  "typeName": {
                    "id": 17074,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17073,
                      "name": "IJBPayDelegate",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 38522,
                      "src": "13813:14:66"
                    },
                    "referencedDeclaration": 38522,
                    "src": "13813:14:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPayDelegate_$38522",
                      "typeString": "contract IJBPayDelegate"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17077,
                  "mutability": "mutable",
                  "name": "memo",
                  "nameLocation": "13858:4:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17232,
                  "src": "13844:18:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 17076,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "13844:6:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "13737:131:66"
            },
            "scope": 18152,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 17470,
            "nodeType": "FunctionDefinition",
            "src": "17600:4178:66",
            "nodes": [],
            "body": {
              "id": 17469,
              "nodeType": "Block",
              "src": "17955:3823:66",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 17264,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17259,
                      "name": "fundingCycle",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17250,
                      "src": "18024:12:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle memory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 17262,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17237,
                          "src": "18067:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 17260,
                          "name": "fundingCycleStore",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16814,
                          "src": "18039:17:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                            "typeString": "contract IJBFundingCycleStore"
                          }
                        },
                        "id": 17261,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "currentOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 38609,
                        "src": "18039:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                          "typeString": "function (uint256) view external returns (struct JBFundingCycle memory)"
                        }
                      },
                      "id": 17263,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "18039:39:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle memory"
                      }
                    },
                    "src": "18024:54:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                      "typeString": "struct JBFundingCycle memory"
                    }
                  },
                  "id": 17265,
                  "nodeType": "ExpressionStatement",
                  "src": "18024:54:66"
                },
                {
                  "condition": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "id": 17266,
                        "name": "fundingCycle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17250,
                        "src": "18142:12:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      "id": 17267,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "redeemPaused",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23555,
                      "src": "18142:25:66",
                      "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": 17268,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "18142:27:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17272,
                  "nodeType": "IfStatement",
                  "src": "18138:69:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17269,
                        "name": "FUNDING_CYCLE_REDEEM_PAUSED",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16790,
                        "src": "18178:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17270,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "18178:29:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17271,
                    "nodeType": "RevertStatement",
                    "src": "18171:36:66"
                  }
                },
                {
                  "id": 17430,
                  "nodeType": "Block",
                  "src": "18349:2943:66",
                  "statements": [
                    {
                      "assignments": [
                        17275
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 17275,
                          "mutability": "mutable",
                          "name": "_reclaimedTokenAmount",
                          "nameLocation": "18491:21:66",
                          "nodeType": "VariableDeclaration",
                          "scope": 17430,
                          "src": "18470:42:66",
                          "stateVariable": false,
                          "storageLocation": "memory",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                            "typeString": "struct JBTokenAmount"
                          },
                          "typeName": {
                            "id": 17274,
                            "nodeType": "UserDefinedTypeName",
                            "pathNode": {
                              "id": 17273,
                              "name": "JBTokenAmount",
                              "nodeType": "IdentifierPath",
                              "referencedDeclaration": 38507,
                              "src": "18470:13:66"
                            },
                            "referencedDeclaration": 38507,
                            "src": "18470:13:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBTokenAmount_$38507_storage_ptr",
                              "typeString": "struct JBTokenAmount"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 17276,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "18470:42:66"
                    },
                    {
                      "assignments": [
                        17278
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 17278,
                          "mutability": "mutable",
                          "name": "_currentOverflow",
                          "nameLocation": "18528:16:66",
                          "nodeType": "VariableDeclaration",
                          "scope": 17430,
                          "src": "18520:24:66",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 17277,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "18520:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 17279,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "18520:24:66"
                    },
                    {
                      "assignments": [
                        17281
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 17281,
                          "mutability": "mutable",
                          "name": "_totalSupply",
                          "nameLocation": "18560:12:66",
                          "nodeType": "VariableDeclaration",
                          "scope": 17430,
                          "src": "18552:20:66",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 17280,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "18552:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 17282,
                      "nodeType": "VariableDeclarationStatement",
                      "src": "18552:20:66"
                    },
                    {
                      "id": 17376,
                      "nodeType": "Block",
                      "src": "18701:1699:66",
                      "statements": [
                        {
                          "assignments": [
                            17284
                          ],
                          "declarations": [
                            {
                              "constant": false,
                              "id": 17284,
                              "mutability": "mutable",
                              "name": "_token",
                              "nameLocation": "18772:6:66",
                              "nodeType": "VariableDeclaration",
                              "scope": 17376,
                              "src": "18764:14:66",
                              "stateVariable": false,
                              "storageLocation": "default",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              "typeName": {
                                "id": 17283,
                                "name": "address",
                                "nodeType": "ElementaryTypeName",
                                "src": "18764:7:66",
                                "stateMutability": "nonpayable",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "visibility": "internal"
                            }
                          ],
                          "id": 17291,
                          "initialValue": {
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "arguments": [
                                  {
                                    "expression": {
                                      "id": 17286,
                                      "name": "msg",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": -15,
                                      "src": "18811:3:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_magic_message",
                                        "typeString": "msg"
                                      }
                                    },
                                    "id": 17287,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "sender",
                                    "nodeType": "MemberAccess",
                                    "src": "18811:10:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  ],
                                  "id": 17285,
                                  "name": "IJBSingleTokenPaymentTerminal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 23154,
                                  "src": "18781:29:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                    "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                  }
                                },
                                "id": 17288,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "18781:41:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                  "typeString": "contract IJBSingleTokenPaymentTerminal"
                                }
                              },
                              "id": 17289,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "token",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 23143,
                              "src": "18781:47:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 17290,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "18781:49:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "nodeType": "VariableDeclarationStatement",
                          "src": "18764:66:66"
                        },
                        {
                          "assignments": [
                            17293
                          ],
                          "declarations": [
                            {
                              "constant": false,
                              "id": 17293,
                              "mutability": "mutable",
                              "name": "_decimals",
                              "nameLocation": "18904:9:66",
                              "nodeType": "VariableDeclaration",
                              "scope": 17376,
                              "src": "18896:17:66",
                              "stateVariable": false,
                              "storageLocation": "default",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "typeName": {
                                "id": 17292,
                                "name": "uint256",
                                "nodeType": "ElementaryTypeName",
                                "src": "18896:7:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "visibility": "internal"
                            }
                          ],
                          "id": 17300,
                          "initialValue": {
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "arguments": [
                                  {
                                    "expression": {
                                      "id": 17295,
                                      "name": "msg",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": -15,
                                      "src": "18946:3:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_magic_message",
                                        "typeString": "msg"
                                      }
                                    },
                                    "id": 17296,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "sender",
                                    "nodeType": "MemberAccess",
                                    "src": "18946:10:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  ],
                                  "id": 17294,
                                  "name": "IJBSingleTokenPaymentTerminal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 23154,
                                  "src": "18916:29:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                    "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                  }
                                },
                                "id": 17297,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "18916:41:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                  "typeString": "contract IJBSingleTokenPaymentTerminal"
                                }
                              },
                              "id": 17298,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "decimals",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 23153,
                              "src": "18916:50:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                                "typeString": "function () view external returns (uint256)"
                              }
                            },
                            "id": 17299,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "18916:52:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "VariableDeclarationStatement",
                          "src": "18896:72:66"
                        },
                        {
                          "assignments": [
                            17302
                          ],
                          "declarations": [
                            {
                              "constant": false,
                              "id": 17302,
                              "mutability": "mutable",
                              "name": "_currency",
                              "nameLocation": "19041:9:66",
                              "nodeType": "VariableDeclaration",
                              "scope": 17376,
                              "src": "19033:17:66",
                              "stateVariable": false,
                              "storageLocation": "default",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "typeName": {
                                "id": 17301,
                                "name": "uint256",
                                "nodeType": "ElementaryTypeName",
                                "src": "19033:7:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "visibility": "internal"
                            }
                          ],
                          "id": 17309,
                          "initialValue": {
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "arguments": [
                                  {
                                    "expression": {
                                      "id": 17304,
                                      "name": "msg",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": -15,
                                      "src": "19083:3:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_magic_message",
                                        "typeString": "msg"
                                      }
                                    },
                                    "id": 17305,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "sender",
                                    "nodeType": "MemberAccess",
                                    "src": "19083:10:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  ],
                                  "id": 17303,
                                  "name": "IJBSingleTokenPaymentTerminal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 23154,
                                  "src": "19053:29:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                    "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                  }
                                },
                                "id": 17306,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "19053:41:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                  "typeString": "contract IJBSingleTokenPaymentTerminal"
                                }
                              },
                              "id": 17307,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "currency",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 23148,
                              "src": "19053:50:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                                "typeString": "function () view external returns (uint256)"
                              }
                            },
                            "id": 17308,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "19053:52:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "VariableDeclarationStatement",
                          "src": "19033:72:66"
                        },
                        {
                          "expression": {
                            "id": 17329,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftHandSide": {
                              "id": 17310,
                              "name": "_currentOverflow",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17278,
                              "src": "19325:16:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "Assignment",
                            "operator": "=",
                            "rightHandSide": {
                              "condition": {
                                "arguments": [],
                                "expression": {
                                  "argumentTypes": [],
                                  "expression": {
                                    "id": 17311,
                                    "name": "fundingCycle",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17250,
                                    "src": "19344:12:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                      "typeString": "struct JBFundingCycle memory"
                                    }
                                  },
                                  "id": 17312,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "useTotalOverflowForRedemptions",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 23695,
                                  "src": "19344:43:66",
                                  "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": 17313,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "19344:45:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseExpression": {
                                "arguments": [
                                  {
                                    "arguments": [
                                      {
                                        "expression": {
                                          "id": 17321,
                                          "name": "msg",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": -15,
                                          "src": "19531:3:66",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_magic_message",
                                            "typeString": "msg"
                                          }
                                        },
                                        "id": 17322,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "sender",
                                        "nodeType": "MemberAccess",
                                        "src": "19531:10:66",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      ],
                                      "id": 17320,
                                      "name": "IJBSingleTokenPaymentTerminal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 23154,
                                      "src": "19501:29:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                        "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                      }
                                    },
                                    "id": 17323,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "19501:41:66",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                      "typeString": "contract IJBSingleTokenPaymentTerminal"
                                    }
                                  },
                                  {
                                    "id": 17324,
                                    "name": "_projectId",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17237,
                                    "src": "19556:10:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "id": 17325,
                                    "name": "fundingCycle",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17250,
                                    "src": "19580:12:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                      "typeString": "struct JBFundingCycle memory"
                                    }
                                  },
                                  {
                                    "id": 17326,
                                    "name": "_currency",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17302,
                                    "src": "19606:9:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                      "typeString": "contract IJBSingleTokenPaymentTerminal"
                                    },
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    {
                                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                      "typeString": "struct JBFundingCycle memory"
                                    },
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  ],
                                  "id": 17319,
                                  "name": "_overflowDuring",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 18066,
                                  "src": "19472:15:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_internal_view$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$returns$_t_uint256_$",
                                    "typeString": "function (contract IJBSingleTokenPaymentTerminal,uint256,struct JBFundingCycle memory,uint256) view returns (uint256)"
                                  }
                                },
                                "id": 17327,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "19472:155:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 17328,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "Conditional",
                              "src": "19344:283:66",
                              "trueExpression": {
                                "arguments": [
                                  {
                                    "id": 17315,
                                    "name": "_projectId",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17237,
                                    "src": "19426:10:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "id": 17316,
                                    "name": "_decimals",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17293,
                                    "src": "19438:9:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "id": 17317,
                                    "name": "_currency",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17302,
                                    "src": "19449:9:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  ],
                                  "id": 17314,
                                  "name": "_currentTotalOverflowOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 18151,
                                  "src": "19402:23:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                    "typeString": "function (uint256,uint256,uint256) view returns (uint256)"
                                  }
                                },
                                "id": 17318,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "19402:57:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "19325:302:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 17330,
                          "nodeType": "ExpressionStatement",
                          "src": "19325:302:66"
                        },
                        {
                          "expression": {
                            "id": 17344,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftHandSide": {
                              "id": 17331,
                              "name": "_totalSupply",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17281,
                              "src": "19703:12:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "Assignment",
                            "operator": "=",
                            "rightHandSide": {
                              "arguments": [
                                {
                                  "id": 17339,
                                  "name": "_projectId",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17237,
                                  "src": "19804:10:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "arguments": [],
                                  "expression": {
                                    "argumentTypes": [],
                                    "expression": {
                                      "id": 17340,
                                      "name": "fundingCycle",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 17250,
                                      "src": "19826:12:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                        "typeString": "struct JBFundingCycle memory"
                                      }
                                    },
                                    "id": 17341,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "reservedRate",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 23449,
                                    "src": "19826:25:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_uint256_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                                      "typeString": "function (struct JBFundingCycle memory) pure returns (uint256)"
                                    }
                                  },
                                  "id": 17342,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "19826:27:66",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "expression": {
                                  "arguments": [
                                    {
                                      "arguments": [
                                        {
                                          "id": 17335,
                                          "name": "_projectId",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 17237,
                                          "src": "19755:10:66",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        ],
                                        "expression": {
                                          "id": 17333,
                                          "name": "directory",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 16809,
                                          "src": "19732:9:66",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                                            "typeString": "contract IJBDirectory"
                                          }
                                        },
                                        "id": 17334,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "controllerOf",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 31854,
                                        "src": "19732:22:66",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                                          "typeString": "function (uint256) view external returns (address)"
                                        }
                                      },
                                      "id": 17336,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "19732:34:66",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 17332,
                                    "name": "IJBController",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 38113,
                                    "src": "19718:13:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_IJBController_$38113_$",
                                      "typeString": "type(contract IJBController)"
                                    }
                                  },
                                  "id": 17337,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "19718:49:66",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBController_$38113",
                                    "typeString": "contract IJBController"
                                  }
                                },
                                "id": 17338,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "totalOutstandingTokensOf",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 37908,
                                "src": "19718:74:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                  "typeString": "function (uint256,uint256) view external returns (uint256)"
                                }
                              },
                              "id": 17343,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "19718:145:66",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "19703:160:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 17345,
                          "nodeType": "ExpressionStatement",
                          "src": "19703:160:66"
                        },
                        {
                          "condition": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 17348,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 17346,
                              "name": "_tokenCount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17239,
                              "src": "19937:11:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": ">",
                            "rightExpression": {
                              "id": 17347,
                              "name": "_totalSupply",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17281,
                              "src": "19951:12:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "19937:26:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "id": 17352,
                          "nodeType": "IfStatement",
                          "src": "19933:60:66",
                          "trueBody": {
                            "errorCall": {
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "id": 17349,
                                "name": "INSUFFICIENT_TOKENS",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16796,
                                "src": "19972:19:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_error_pure$__$returns$__$",
                                  "typeString": "function () pure"
                                }
                              },
                              "id": 17350,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "19972:21:66",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 17351,
                            "nodeType": "RevertStatement",
                            "src": "19965:28:66"
                          }
                        },
                        {
                          "condition": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 17355,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 17353,
                              "name": "_currentOverflow",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17278,
                              "src": "20008:16:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": ">",
                            "rightExpression": {
                              "hexValue": "30",
                              "id": 17354,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "20027:1:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "src": "20008:20:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "id": 17366,
                          "nodeType": "IfStatement",
                          "src": "20004:294:66",
                          "trueBody": {
                            "expression": {
                              "id": 17364,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftHandSide": {
                                "id": 17356,
                                "name": "reclaimAmount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17252,
                                "src": "20113:13:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "Assignment",
                              "operator": "=",
                              "rightHandSide": {
                                "arguments": [
                                  {
                                    "id": 17358,
                                    "name": "_projectId",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17237,
                                    "src": "20169:10:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "id": 17359,
                                    "name": "fundingCycle",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17250,
                                    "src": "20193:12:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                      "typeString": "struct JBFundingCycle memory"
                                    }
                                  },
                                  {
                                    "id": 17360,
                                    "name": "_tokenCount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17239,
                                    "src": "20219:11:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "id": 17361,
                                    "name": "_totalSupply",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17281,
                                    "src": "20244:12:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "id": 17362,
                                    "name": "_currentOverflow",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17278,
                                    "src": "20270:16:66",
                                    "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_uint256",
                                      "typeString": "uint256"
                                    },
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  ],
                                  "id": 17357,
                                  "name": "_reclaimableOverflowDuring",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17969,
                                  "src": "20129:26:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                    "typeString": "function (uint256,struct JBFundingCycle memory,uint256,uint256,uint256) view returns (uint256)"
                                  }
                                },
                                "id": 17363,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "20129:169:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "20113:185:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 17365,
                            "nodeType": "ExpressionStatement",
                            "src": "20113:185:66"
                          }
                        },
                        {
                          "expression": {
                            "id": 17374,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftHandSide": {
                              "id": 17367,
                              "name": "_reclaimedTokenAmount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17275,
                              "src": "20309:21:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                "typeString": "struct JBTokenAmount memory"
                              }
                            },
                            "nodeType": "Assignment",
                            "operator": "=",
                            "rightHandSide": {
                              "arguments": [
                                {
                                  "id": 17369,
                                  "name": "_token",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17284,
                                  "src": "20347:6:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "id": 17370,
                                  "name": "reclaimAmount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17252,
                                  "src": "20355:13:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 17371,
                                  "name": "_decimals",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17293,
                                  "src": "20370:9:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 17372,
                                  "name": "_currency",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17302,
                                  "src": "20381:9:66",
                                  "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": 17368,
                                "name": "JBTokenAmount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 38507,
                                "src": "20333:13:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_struct$_JBTokenAmount_$38507_storage_ptr_$",
                                  "typeString": "type(struct JBTokenAmount storage pointer)"
                                }
                              },
                              "id": 17373,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "structConstructorCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "20333:58:66",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                "typeString": "struct JBTokenAmount memory"
                              }
                            },
                            "src": "20309:82:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                              "typeString": "struct JBTokenAmount memory"
                            }
                          },
                          "id": 17375,
                          "nodeType": "ExpressionStatement",
                          "src": "20309:82:66"
                        }
                      ]
                    },
                    {
                      "condition": {
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "id": 17377,
                            "name": "fundingCycle",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17250,
                            "src": "20514:12:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                              "typeString": "struct JBFundingCycle memory"
                            }
                          },
                          "id": 17378,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "useDataSourceForRedeem",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 23733,
                          "src": "20514:35:66",
                          "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": 17379,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "20514:37:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "falseBody": {
                        "id": 17428,
                        "nodeType": "Block",
                        "src": "21255:31:66",
                        "statements": [
                          {
                            "expression": {
                              "id": 17426,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftHandSide": {
                                "id": 17424,
                                "name": "memo",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17257,
                                "src": "21265:4:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_string_memory_ptr",
                                  "typeString": "string memory"
                                }
                              },
                              "nodeType": "Assignment",
                              "operator": "=",
                              "rightHandSide": {
                                "id": 17425,
                                "name": "_memo",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17241,
                                "src": "21272:5:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_string_memory_ptr",
                                  "typeString": "string memory"
                                }
                              },
                              "src": "21265:12:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_string_memory_ptr",
                                "typeString": "string memory"
                              }
                            },
                            "id": 17427,
                            "nodeType": "ExpressionStatement",
                            "src": "21265:12:66"
                          }
                        ]
                      },
                      "id": 17429,
                      "nodeType": "IfStatement",
                      "src": "20510:776:66",
                      "trueBody": {
                        "id": 17423,
                        "nodeType": "Block",
                        "src": "20553:696:66",
                        "statements": [
                          {
                            "assignments": [
                              17382
                            ],
                            "declarations": [
                              {
                                "constant": false,
                                "id": 17382,
                                "mutability": "mutable",
                                "name": "_data",
                                "nameLocation": "20654:5:66",
                                "nodeType": "VariableDeclaration",
                                "scope": 17423,
                                "src": "20628:31:66",
                                "stateVariable": false,
                                "storageLocation": "memory",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_JBRedeemParamsData_$35979_memory_ptr",
                                  "typeString": "struct JBRedeemParamsData"
                                },
                                "typeName": {
                                  "id": 17381,
                                  "nodeType": "UserDefinedTypeName",
                                  "pathNode": {
                                    "id": 17380,
                                    "name": "JBRedeemParamsData",
                                    "nodeType": "IdentifierPath",
                                    "referencedDeclaration": 35979,
                                    "src": "20628:18:66"
                                  },
                                  "referencedDeclaration": 35979,
                                  "src": "20628:18:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBRedeemParamsData_$35979_storage_ptr",
                                    "typeString": "struct JBRedeemParamsData"
                                  }
                                },
                                "visibility": "internal"
                              }
                            ],
                            "id": 17408,
                            "initialValue": {
                              "arguments": [
                                {
                                  "arguments": [
                                    {
                                      "expression": {
                                        "id": 17385,
                                        "name": "msg",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": -15,
                                        "src": "20722:3:66",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_magic_message",
                                          "typeString": "msg"
                                        }
                                      },
                                      "id": 17386,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "sender",
                                      "nodeType": "MemberAccess",
                                      "src": "20722:10:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 17384,
                                    "name": "IJBSingleTokenPaymentTerminal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 23154,
                                    "src": "20692:29:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                      "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                    }
                                  },
                                  "id": 17387,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "20692:41:66",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                    "typeString": "contract IJBSingleTokenPaymentTerminal"
                                  }
                                },
                                {
                                  "id": 17388,
                                  "name": "_holder",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17235,
                                  "src": "20745:7:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "id": 17389,
                                  "name": "_projectId",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17237,
                                  "src": "20764:10:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "expression": {
                                    "id": 17390,
                                    "name": "fundingCycle",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17250,
                                    "src": "20786:12:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                      "typeString": "struct JBFundingCycle memory"
                                    }
                                  },
                                  "id": 17391,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "configuration",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 35833,
                                  "src": "20786:26:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 17392,
                                  "name": "_tokenCount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17239,
                                  "src": "20824:11:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 17393,
                                  "name": "_totalSupply",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17281,
                                  "src": "20847:12:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 17394,
                                  "name": "_currentOverflow",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17278,
                                  "src": "20871:16:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 17395,
                                  "name": "_reclaimedTokenAmount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17275,
                                  "src": "20899:21:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                    "typeString": "struct JBTokenAmount memory"
                                  }
                                },
                                {
                                  "arguments": [],
                                  "expression": {
                                    "argumentTypes": [],
                                    "expression": {
                                      "id": 17396,
                                      "name": "fundingCycle",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 17250,
                                      "src": "20932:12:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                        "typeString": "struct JBFundingCycle memory"
                                      }
                                    },
                                    "id": 17397,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "useTotalOverflowForRedemptions",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 23695,
                                    "src": "20932:43:66",
                                    "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": 17398,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "20932:45:66",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                {
                                  "arguments": [],
                                  "expression": {
                                    "argumentTypes": [],
                                    "expression": {
                                      "id": 17399,
                                      "name": "fundingCycle",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 17250,
                                      "src": "20989:12:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                        "typeString": "struct JBFundingCycle memory"
                                      }
                                    },
                                    "id": 17400,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "redemptionRate",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 23472,
                                    "src": "20989:27:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_uint256_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                                      "typeString": "function (struct JBFundingCycle memory) pure returns (uint256)"
                                    }
                                  },
                                  "id": 17401,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "20989:29:66",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "arguments": [],
                                  "expression": {
                                    "argumentTypes": [],
                                    "expression": {
                                      "id": 17402,
                                      "name": "fundingCycle",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 17250,
                                      "src": "21030:12:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                        "typeString": "struct JBFundingCycle memory"
                                      }
                                    },
                                    "id": 17403,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "ballotRedemptionRate",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 23495,
                                    "src": "21030:33:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_uint256_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                                      "typeString": "function (struct JBFundingCycle memory) pure returns (uint256)"
                                    }
                                  },
                                  "id": 17404,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "21030:35:66",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 17405,
                                  "name": "_memo",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17241,
                                  "src": "21077:5:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_string_memory_ptr",
                                    "typeString": "string memory"
                                  }
                                },
                                {
                                  "id": 17406,
                                  "name": "_metadata",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17243,
                                  "src": "21094:9:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes_memory_ptr",
                                    "typeString": "bytes memory"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                    "typeString": "contract IJBSingleTokenPaymentTerminal"
                                  },
                                  {
                                    "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_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_struct$_JBTokenAmount_$38507_memory_ptr",
                                    "typeString": "struct JBTokenAmount memory"
                                  },
                                  {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  },
                                  {
                                    "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"
                                  }
                                ],
                                "id": 17383,
                                "name": "JBRedeemParamsData",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 35979,
                                "src": "20662:18:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_struct$_JBRedeemParamsData_$35979_storage_ptr_$",
                                  "typeString": "type(struct JBRedeemParamsData storage pointer)"
                                }
                              },
                              "id": 17407,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "structConstructorCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "20662:451:66",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_JBRedeemParamsData_$35979_memory_ptr",
                                "typeString": "struct JBRedeemParamsData memory"
                              }
                            },
                            "nodeType": "VariableDeclarationStatement",
                            "src": "20628:485:66"
                          },
                          {
                            "expression": {
                              "id": 17421,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftHandSide": {
                                "components": [
                                  {
                                    "id": 17409,
                                    "name": "reclaimAmount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17252,
                                    "src": "21124:13:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "id": 17410,
                                    "name": "memo",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17257,
                                    "src": "21139:4:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_string_memory_ptr",
                                      "typeString": "string memory"
                                    }
                                  },
                                  {
                                    "id": 17411,
                                    "name": "delegate",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17255,
                                    "src": "21145:8:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                                      "typeString": "contract IJBRedemptionDelegate"
                                    }
                                  }
                                ],
                                "id": 17412,
                                "isConstant": false,
                                "isInlineArray": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": true,
                                "nodeType": "TupleExpression",
                                "src": "21123:31:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$_t_uint256_$_t_string_memory_ptr_$_t_contract$_IJBRedemptionDelegate_$38537_$",
                                  "typeString": "tuple(uint256,string memory,contract IJBRedemptionDelegate)"
                                }
                              },
                              "nodeType": "Assignment",
                              "operator": "=",
                              "rightHandSide": {
                                "arguments": [
                                  {
                                    "id": 17419,
                                    "name": "_data",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17382,
                                    "src": "21234:5:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_JBRedeemParamsData_$35979_memory_ptr",
                                      "typeString": "struct JBRedeemParamsData memory"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_struct$_JBRedeemParamsData_$35979_memory_ptr",
                                      "typeString": "struct JBRedeemParamsData memory"
                                    }
                                  ],
                                  "expression": {
                                    "arguments": [
                                      {
                                        "arguments": [],
                                        "expression": {
                                          "argumentTypes": [],
                                          "expression": {
                                            "id": 17414,
                                            "name": "fundingCycle",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 17250,
                                            "src": "21183:12:66",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                                              "typeString": "struct JBFundingCycle memory"
                                            }
                                          },
                                          "id": 17415,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "dataSource",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 23753,
                                          "src": "21183:23:66",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                                            "typeString": "function (struct JBFundingCycle memory) pure returns (address)"
                                          }
                                        },
                                        "id": 17416,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "functionCall",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "21183:25:66",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      ],
                                      "id": 17413,
                                      "name": "IJBFundingCycleDataSource",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 38673,
                                      "src": "21157:25:66",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_IJBFundingCycleDataSource_$38673_$",
                                        "typeString": "type(contract IJBFundingCycleDataSource)"
                                      }
                                    },
                                    "id": 17417,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "21157:52:66",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_IJBFundingCycleDataSource_$38673",
                                      "typeString": "contract IJBFundingCycleDataSource"
                                    }
                                  },
                                  "id": 17418,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemParams",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 38672,
                                  "src": "21157:76:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_nonpayable$_t_struct$_JBRedeemParamsData_$35979_memory_ptr_$returns$_t_uint256_$_t_string_memory_ptr_$_t_contract$_IJBRedemptionDelegate_$38537_$",
                                    "typeString": "function (struct JBRedeemParamsData memory) external returns (uint256,string memory,contract IJBRedemptionDelegate)"
                                  }
                                },
                                "id": 17420,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "21157:83:66",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$_t_uint256_$_t_string_memory_ptr_$_t_contract$_IJBRedemptionDelegate_$38537_$",
                                  "typeString": "tuple(uint256,string memory,contract IJBRedemptionDelegate)"
                                }
                              },
                              "src": "21123:117:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 17422,
                            "nodeType": "ExpressionStatement",
                            "src": "21123:117:66"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17440,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17431,
                      "name": "reclaimAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17252,
                      "src": "21374:13:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 17432,
                          "name": "balanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16828,
                          "src": "21390:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17437,
                        "indexExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17434,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "21430:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17435,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "21430:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17433,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "21400:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17436,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "21400:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "21390:52:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17439,
                      "indexExpression": {
                        "id": 17438,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17237,
                        "src": "21443:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "21390:64:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "21374:80:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17444,
                  "nodeType": "IfStatement",
                  "src": "21370:142:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17441,
                        "name": "INADEQUATE_PAYMENT_TERMINAL_STORE_BALANCE",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16794,
                        "src": "21469:41:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17442,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "21469:43:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17443,
                    "nodeType": "RevertStatement",
                    "src": "21462:50:66"
                  }
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17447,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17445,
                      "name": "reclaimAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17252,
                      "src": "21585:13:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 17446,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "21601:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "21585:17:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17468,
                  "nodeType": "IfStatement",
                  "src": "21581:192:66",
                  "trueBody": {
                    "expression": {
                      "id": 17466,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17448,
                            "name": "balanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16828,
                            "src": "21610:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 17454,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17450,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "21650:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17451,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "21650:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17449,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "21620:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17452,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "21620:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "21610:52:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 17455,
                        "indexExpression": {
                          "id": 17453,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17237,
                          "src": "21663:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": true,
                        "nodeType": "IndexAccess",
                        "src": "21610:64:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 17465,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "baseExpression": {
                            "baseExpression": {
                              "id": 17456,
                              "name": "balanceOf",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16828,
                              "src": "21685:9:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                              }
                            },
                            "id": 17461,
                            "indexExpression": {
                              "arguments": [
                                {
                                  "expression": {
                                    "id": 17458,
                                    "name": "msg",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": -15,
                                    "src": "21725:3:66",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_magic_message",
                                      "typeString": "msg"
                                    }
                                  },
                                  "id": 17459,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "sender",
                                  "nodeType": "MemberAccess",
                                  "src": "21725:10:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 17457,
                                "name": "IJBSingleTokenPaymentTerminal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 23154,
                                "src": "21695:29:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                  "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                }
                              },
                              "id": 17460,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "21695:41:66",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                                "typeString": "contract IJBSingleTokenPaymentTerminal"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "21685:52:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                              "typeString": "mapping(uint256 => uint256)"
                            }
                          },
                          "id": 17463,
                          "indexExpression": {
                            "id": 17462,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17237,
                            "src": "21738:10:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "21685:64:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "-",
                        "rightExpression": {
                          "id": 17464,
                          "name": "reclaimAmount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17252,
                          "src": "21760:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "21685:88:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "21610:163:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 17467,
                    "nodeType": "ExpressionStatement",
                    "src": "21610:163:66"
                  }
                }
              ]
            },
            "baseFunctions": [
              23315
            ],
            "documentation": {
              "id": 17233,
              "nodeType": "StructuredDocumentation",
              "src": "16409:1188:66",
              "text": "@notice\nRecords newly redeemed tokens of a project.\n@dev\nRedeems the project's tokens according to values provided by a configured data source. If no data source is configured, redeems tokens along a redemption bonding curve that is a function of the number of tokens being burned.\n@dev\nThe msg.sender must be an IJBSingleTokenPaymentTerminal. The amount specified in the params is in terms of the msg.senders tokens.\n@param _holder The account that is having its tokens redeemed.\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 _memo A memo to pass along to the emitted event.\n@param _metadata Bytes to send along to the data source, if one is provided.\n@return fundingCycle The funding cycle during which the redemption was made.\n@return reclaimAmount The amount of terminal tokens reclaimed, as a fixed point number with 18 decimals.\n@return delegate A delegate contract to use for subsequent calls.\n@return memo A memo that should be passed along to the emitted event."
            },
            "functionSelector": "a2df1f95",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 17247,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 17246,
                  "name": "nonReentrant",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36634,
                  "src": "17786:12:66"
                },
                "nodeType": "ModifierInvocation",
                "src": "17786:12:66"
              }
            ],
            "name": "recordRedemptionFor",
            "nameLocation": "17609:19:66",
            "overrides": {
              "id": 17245,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "17773:8:66"
            },
            "parameters": {
              "id": 17244,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17235,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "17642:7:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17634:15:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17234,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "17634:7:66",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17237,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "17663:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17655:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17236,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17655:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17239,
                  "mutability": "mutable",
                  "name": "_tokenCount",
                  "nameLocation": "17687:11:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17679:19:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17238,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17679:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17241,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "17718:5:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17704:19:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 17240,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "17704:6:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17243,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "17742:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17729:22:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 17242,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "17729:5:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17628:127:66"
            },
            "returnParameters": {
              "id": 17258,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17250,
                  "mutability": "mutable",
                  "name": "fundingCycle",
                  "nameLocation": "17841:12:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17819:34:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                    "typeString": "struct JBFundingCycle"
                  },
                  "typeName": {
                    "id": 17249,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17248,
                      "name": "JBFundingCycle",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 35849,
                      "src": "17819:14:66"
                    },
                    "referencedDeclaration": 35849,
                    "src": "17819:14:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                      "typeString": "struct JBFundingCycle"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17252,
                  "mutability": "mutable",
                  "name": "reclaimAmount",
                  "nameLocation": "17869:13:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17861:21:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17251,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17861:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17255,
                  "mutability": "mutable",
                  "name": "delegate",
                  "nameLocation": "17912:8:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17890:30:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                    "typeString": "contract IJBRedemptionDelegate"
                  },
                  "typeName": {
                    "id": 17254,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17253,
                      "name": "IJBRedemptionDelegate",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 38537,
                      "src": "17890:21:66"
                    },
                    "referencedDeclaration": 38537,
                    "src": "17890:21:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$38537",
                      "typeString": "contract IJBRedemptionDelegate"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17257,
                  "mutability": "mutable",
                  "name": "memo",
                  "nameLocation": "17942:4:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17470,
                  "src": "17928:18:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 17256,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "17928:6:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17811:141:66"
            },
            "scope": 18152,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 17642,
            "nodeType": "FunctionDefinition",
            "src": "22454:2657:66",
            "nodes": [],
            "body": {
              "id": 17641,
              "nodeType": "Block",
              "src": "22678:2433:66",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 17493,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17488,
                      "name": "fundingCycle",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17484,
                      "src": "22747:12:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle memory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 17491,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17473,
                          "src": "22790:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 17489,
                          "name": "fundingCycleStore",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16814,
                          "src": "22762:17:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                            "typeString": "contract IJBFundingCycleStore"
                          }
                        },
                        "id": 17490,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "currentOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 38609,
                        "src": "22762:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                          "typeString": "function (uint256) view external returns (struct JBFundingCycle memory)"
                        }
                      },
                      "id": 17492,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "22762:39:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle memory"
                      }
                    },
                    "src": "22747:54:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                      "typeString": "struct JBFundingCycle memory"
                    }
                  },
                  "id": 17494,
                  "nodeType": "ExpressionStatement",
                  "src": "22747:54:66"
                },
                {
                  "condition": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "id": 17495,
                        "name": "fundingCycle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17484,
                        "src": "22890:12:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                          "typeString": "struct JBFundingCycle memory"
                        }
                      },
                      "id": 17496,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "distributionsPaused",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23535,
                      "src": "22890:32:66",
                      "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": 17497,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "22890:34:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17501,
                  "nodeType": "IfStatement",
                  "src": "22886:82:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17498,
                        "name": "FUNDING_CYCLE_DISTRIBUTION_PAUSED",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16788,
                        "src": "22933:33:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17499,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "22933:35:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17500,
                    "nodeType": "RevertStatement",
                    "src": "22926:42:66"
                  }
                },
                {
                  "assignments": [
                    17503
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17503,
                      "mutability": "mutable",
                      "name": "_newUsedDistributionLimitOf",
                      "nameLocation": "23064:27:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17641,
                      "src": "23056:35:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17502,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "23056:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17517,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17516,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17504,
                            "name": "usedDistributionLimitOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16839,
                            "src": "23094:23:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
                            }
                          },
                          "id": 17509,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17506,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "23155:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17507,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "23155:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17505,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "23125:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17508,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "23125:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "23094:78:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(uint256 => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17511,
                        "indexExpression": {
                          "id": 17510,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17473,
                          "src": "23173:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "23094:90:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17514,
                      "indexExpression": {
                        "expression": {
                          "id": 17512,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17484,
                          "src": "23185:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17513,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "number",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35831,
                        "src": "23185:19:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "23094:111:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "+",
                    "rightExpression": {
                      "id": 17515,
                      "name": "_amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17475,
                      "src": "23208:7:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "23094:121:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "23056:159:66"
                },
                {
                  "assignments": [
                    17519,
                    17521
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17519,
                      "mutability": "mutable",
                      "name": "_distributionLimitOf",
                      "nameLocation": "23289:20:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17641,
                      "src": "23281:28:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17518,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "23281:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    },
                    {
                      "constant": false,
                      "id": 17521,
                      "mutability": "mutable",
                      "name": "_distributionLimitCurrencyOf",
                      "nameLocation": "23319:28:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17641,
                      "src": "23311:36:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17520,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "23311:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17543,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 17529,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17473,
                        "src": "23442:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 17530,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17484,
                          "src": "23462:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17531,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "23462:26:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "expression": {
                              "id": 17533,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "23528:3:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 17534,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "src": "23528:10:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 17532,
                          "name": "IJBSingleTokenPaymentTerminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23154,
                          "src": "23498:29:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                            "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                          }
                        },
                        "id": 17535,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "23498:41:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        }
                      },
                      {
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17537,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "23579:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17538,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "23579:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17536,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "23549:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17539,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "23549:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "id": 17540,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "token",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 23143,
                          "src": "23549:47:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                            "typeString": "function () view external returns (address)"
                          }
                        },
                        "id": 17541,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "23549:49:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "arguments": [
                          {
                            "arguments": [
                              {
                                "id": 17525,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17473,
                                "src": "23395:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "id": 17523,
                                "name": "directory",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16809,
                                "src": "23372:9:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                                  "typeString": "contract IJBDirectory"
                                }
                              },
                              "id": 17524,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "controllerOf",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 31854,
                              "src": "23372:22:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                                "typeString": "function (uint256) view external returns (address)"
                              }
                            },
                            "id": 17526,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "23372:34:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 17522,
                          "name": "IJBController",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 38113,
                          "src": "23351:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IJBController_$38113_$",
                            "typeString": "type(contract IJBController)"
                          }
                        },
                        "id": 17527,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "23351:61:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBController_$38113",
                          "typeString": "contract IJBController"
                        }
                      },
                      "id": 17528,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "distributionLimitOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37883,
                      "src": "23351:81:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$_t_uint256_$_t_contract$_IJBPaymentTerminal_$31994_$_t_address_$returns$_t_uint256_$_t_uint256_$",
                        "typeString": "function (uint256,uint256,contract IJBPaymentTerminal,address) view external returns (uint256,uint256)"
                      }
                    },
                    "id": 17542,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "23351:255:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                      "typeString": "tuple(uint256,uint256)"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "23280:326:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 17550,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17546,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 17544,
                        "name": "_newUsedDistributionLimitOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17503,
                        "src": "23688:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": ">",
                      "rightExpression": {
                        "id": 17545,
                        "name": "_distributionLimitOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17519,
                        "src": "23718:20:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "23688:50:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17549,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 17547,
                        "name": "_distributionLimitOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17519,
                        "src": "23742:20:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 17548,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "23766:1:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "23742:25:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "23688:79:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17554,
                  "nodeType": "IfStatement",
                  "src": "23684:133:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17551,
                        "name": "DISTRIBUTION_AMOUNT_LIMIT_REACHED",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16784,
                        "src": "23782:33:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17552,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "23782:35:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17553,
                    "nodeType": "RevertStatement",
                    "src": "23775:42:66"
                  }
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17557,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17555,
                      "name": "_currency",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17477,
                      "src": "23867:9:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "id": 17556,
                      "name": "_distributionLimitCurrencyOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17521,
                      "src": "23880:28:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "23867:41:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17561,
                  "nodeType": "IfStatement",
                  "src": "23863:73:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17558,
                        "name": "CURRENCY_MISMATCH",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16782,
                        "src": "23917:17:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17559,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "23917:19:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17560,
                    "nodeType": "RevertStatement",
                    "src": "23910:26:66"
                  }
                },
                {
                  "assignments": [
                    17563
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17563,
                      "mutability": "mutable",
                      "name": "_balanceCurrency",
                      "nameLocation": "24002:16:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17641,
                      "src": "23994:24:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17562,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "23994:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17570,
                  "initialValue": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 17565,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "24051:3:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 17566,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "src": "24051:10:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 17564,
                          "name": "IJBSingleTokenPaymentTerminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23154,
                          "src": "24021:29:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                            "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                          }
                        },
                        "id": 17567,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "24021:41:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        }
                      },
                      "id": 17568,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "currency",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23148,
                      "src": "24021:50:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                        "typeString": "function () view external returns (uint256)"
                      }
                    },
                    "id": 17569,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "24021:52:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "23994:79:66"
                },
                {
                  "expression": {
                    "id": 17591,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17571,
                      "name": "distributedAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17486,
                      "src": "24133:17:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "condition": {
                        "components": [
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 17574,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 17572,
                              "name": "_currency",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17477,
                              "src": "24154:9:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "id": 17573,
                              "name": "_balanceCurrency",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17563,
                              "src": "24167:16:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "24154:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          }
                        ],
                        "id": 17575,
                        "isConstant": false,
                        "isInlineArray": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "TupleExpression",
                        "src": "24153:31:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "falseExpression": {
                        "arguments": [
                          {
                            "id": 17579,
                            "name": "_amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17475,
                            "src": "24233:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 17582,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "leftExpression": {
                              "hexValue": "3130",
                              "id": 17580,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "24250:2:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_10_by_1",
                                "typeString": "int_const 10"
                              },
                              "value": "10"
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "**",
                            "rightExpression": {
                              "id": 17581,
                              "name": "_MAX_FIXED_POINT_FIDELITY",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16804,
                              "src": "24254:25:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "24250:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "arguments": [
                              {
                                "id": 17585,
                                "name": "_currency",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17477,
                                "src": "24417:9:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 17586,
                                "name": "_balanceCurrency",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17563,
                                "src": "24428:16:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 17587,
                                "name": "_MAX_FIXED_POINT_FIDELITY",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16804,
                                "src": "24446:25:66",
                                "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": 17583,
                                "name": "prices",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16819,
                                "src": "24401:6:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBPrices_$23109",
                                  "typeString": "contract IJBPrices"
                                }
                              },
                              "id": 17584,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "priceFor",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 23098,
                              "src": "24401:15:66",
                              "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": 17588,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "24401:71:66",
                            "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": 17577,
                            "name": "PRBMath",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26107,
                            "src": "24209:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                              "typeString": "type(library PRBMath)"
                            }
                          },
                          "id": 17578,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "mulDiv",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 25696,
                          "src": "24209:14:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                            "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                          }
                        },
                        "id": 17589,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "24209:271:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 17590,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "Conditional",
                      "src": "24153:327:66",
                      "trueExpression": {
                        "id": 17576,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17475,
                        "src": "24193:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "24133:347:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17592,
                  "nodeType": "ExpressionStatement",
                  "src": "24133:347:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17602,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17593,
                      "name": "distributedAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17486,
                      "src": "24546:17:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 17594,
                          "name": "balanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16828,
                          "src": "24566:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17599,
                        "indexExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17596,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "24606:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17597,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "24606:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17595,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "24576:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17598,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "24576:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "24566:52:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17601,
                      "indexExpression": {
                        "id": 17600,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17473,
                        "src": "24619:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "24566:64:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "24546:84:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17606,
                  "nodeType": "IfStatement",
                  "src": "24542:146:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17603,
                        "name": "INADEQUATE_PAYMENT_TERMINAL_STORE_BALANCE",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16794,
                        "src": "24645:41:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17604,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "24645:43:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17605,
                    "nodeType": "RevertStatement",
                    "src": "24638:50:66"
                  }
                },
                {
                  "expression": {
                    "id": 17619,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17607,
                            "name": "usedDistributionLimitOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16839,
                            "src": "24724:23:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
                            }
                          },
                          "id": 17615,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17609,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "24778:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17610,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "24778:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17608,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "24748:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17611,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "24748:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "24724:66:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(uint256 => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17616,
                        "indexExpression": {
                          "id": 17612,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17473,
                          "src": "24791:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "24724:78:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17617,
                      "indexExpression": {
                        "expression": {
                          "id": 17613,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17484,
                          "src": "24810:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17614,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "number",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35831,
                        "src": "24810:19:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "24724:111:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 17618,
                      "name": "_newUsedDistributionLimitOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17503,
                      "src": "24838:27:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "24724:141:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17620,
                  "nodeType": "ExpressionStatement",
                  "src": "24724:141:66"
                },
                {
                  "expression": {
                    "id": 17639,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 17621,
                          "name": "balanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16828,
                          "src": "24943:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17627,
                        "indexExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17623,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "24983:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17624,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "24983:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17622,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "24953:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17625,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "24953:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "24943:52:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17628,
                      "indexExpression": {
                        "id": 17626,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17473,
                        "src": "24996:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "24943:64:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17638,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17629,
                            "name": "balanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16828,
                            "src": "25016:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 17634,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17631,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "25056:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17632,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "25056:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17630,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "25026:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17633,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "25026:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "25016:52:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 17636,
                        "indexExpression": {
                          "id": 17635,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17473,
                          "src": "25069:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "25016:64:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "-",
                      "rightExpression": {
                        "id": 17637,
                        "name": "distributedAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17486,
                        "src": "25089:17:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "25016:90:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "24943:163:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17640,
                  "nodeType": "ExpressionStatement",
                  "src": "24943:163:66"
                }
              ]
            },
            "baseFunctions": [
              23329
            ],
            "documentation": {
              "id": 17471,
              "nodeType": "StructuredDocumentation",
              "src": "21782:669:66",
              "text": "@notice\nRecords newly distributed funds for a project.\n@dev\nThe msg.sender must be an IJBSingleTokenPaymentTerminal. \n@param _projectId The ID of the project that is having funds distributed.\n@param _amount The amount to use from the distribution limit, as a fixed point number.\n@param _currency The currency of the `_amount`. This must match the project's current funding cycle's currency.\n@return fundingCycle The funding cycle during which the distribution was made.\n@return distributedAmount The amount of terminal tokens distributed, as a fixed point number with the same amount of decimals as its relative terminal."
            },
            "functionSelector": "c6644597",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 17481,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 17480,
                  "name": "nonReentrant",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36634,
                  "src": "22587:12:66"
                },
                "nodeType": "ModifierInvocation",
                "src": "22587:12:66"
              }
            ],
            "name": "recordDistributionFor",
            "nameLocation": "22463:21:66",
            "overrides": {
              "id": 17479,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "22574:8:66"
            },
            "parameters": {
              "id": 17478,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17473,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "22498:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17642,
                  "src": "22490:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17472,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "22490:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17475,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "22522:7:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17642,
                  "src": "22514:15:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17474,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "22514:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17477,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "22543:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17642,
                  "src": "22535:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17476,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "22535:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "22484:72:66"
            },
            "returnParameters": {
              "id": 17487,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17484,
                  "mutability": "mutable",
                  "name": "fundingCycle",
                  "nameLocation": "22635:12:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17642,
                  "src": "22613:34:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                    "typeString": "struct JBFundingCycle"
                  },
                  "typeName": {
                    "id": 17483,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17482,
                      "name": "JBFundingCycle",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 35849,
                      "src": "22613:14:66"
                    },
                    "referencedDeclaration": 35849,
                    "src": "22613:14:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                      "typeString": "struct JBFundingCycle"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17486,
                  "mutability": "mutable",
                  "name": "distributedAmount",
                  "nameLocation": "22657:17:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17642,
                  "src": "22649:25:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17485,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "22649:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "22612:63:66"
            },
            "scope": 18152,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 17808,
            "nodeType": "FunctionDefinition",
            "src": "25756:2557:66",
            "nodes": [],
            "body": {
              "id": 17807,
              "nodeType": "Block",
              "src": "25973:2340:66",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 17665,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17660,
                      "name": "fundingCycle",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17656,
                      "src": "26042:12:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle memory"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 17663,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17645,
                          "src": "26085:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 17661,
                          "name": "fundingCycleStore",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16814,
                          "src": "26057:17:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                            "typeString": "contract IJBFundingCycleStore"
                          }
                        },
                        "id": 17662,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "currentOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 38609,
                        "src": "26057:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                          "typeString": "function (uint256) view external returns (struct JBFundingCycle memory)"
                        }
                      },
                      "id": 17664,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "26057:39:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle memory"
                      }
                    },
                    "src": "26042:54:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                      "typeString": "struct JBFundingCycle memory"
                    }
                  },
                  "id": 17666,
                  "nodeType": "ExpressionStatement",
                  "src": "26042:54:66"
                },
                {
                  "assignments": [
                    17668
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17668,
                      "mutability": "mutable",
                      "name": "_newUsedOverflowAllowanceOf",
                      "nameLocation": "26207:27:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17807,
                      "src": "26199:35:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17667,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "26199:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17682,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17681,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17669,
                            "name": "usedOverflowAllowanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16850,
                            "src": "26237:23:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
                            }
                          },
                          "id": 17674,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17671,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "26298:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17672,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "26298:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17670,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "26268:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17673,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "26268:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "26237:78:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(uint256 => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17676,
                        "indexExpression": {
                          "id": 17675,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17645,
                          "src": "26316:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "26237:90:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17679,
                      "indexExpression": {
                        "expression": {
                          "id": 17677,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17656,
                          "src": "26328:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17678,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "26328:26:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "26237:118:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "+",
                    "rightExpression": {
                      "id": 17680,
                      "name": "_amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17647,
                      "src": "26358:7:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "26237:128:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "26199:166:66"
                },
                {
                  "assignments": [
                    17684,
                    17686
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17684,
                      "mutability": "mutable",
                      "name": "_overflowAllowanceOf",
                      "nameLocation": "26434:20:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17807,
                      "src": "26426:28:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17683,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "26426:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    },
                    {
                      "constant": false,
                      "id": 17686,
                      "mutability": "mutable",
                      "name": "_overflowAllowanceCurrency",
                      "nameLocation": "26464:26:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17807,
                      "src": "26456:34:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17685,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "26456:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17708,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 17694,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17645,
                        "src": "26585:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 17695,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17656,
                          "src": "26605:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17696,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "26605:26:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "expression": {
                              "id": 17698,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "26671:3:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 17699,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "src": "26671:10:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 17697,
                          "name": "IJBSingleTokenPaymentTerminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23154,
                          "src": "26641:29:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                            "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                          }
                        },
                        "id": 17700,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "26641:41:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        }
                      },
                      {
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17702,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "26722:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17703,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "26722:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17701,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "26692:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17704,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "26692:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "id": 17705,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "token",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 23143,
                          "src": "26692:47:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                            "typeString": "function () view external returns (address)"
                          }
                        },
                        "id": 17706,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "26692:49:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "arguments": [
                          {
                            "arguments": [
                              {
                                "id": 17690,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17645,
                                "src": "26538:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "id": 17688,
                                "name": "directory",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16809,
                                "src": "26515:9:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                                  "typeString": "contract IJBDirectory"
                                }
                              },
                              "id": 17689,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "controllerOf",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 31854,
                              "src": "26515:22:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                                "typeString": "function (uint256) view external returns (address)"
                              }
                            },
                            "id": 17691,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "26515:34:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 17687,
                          "name": "IJBController",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 38113,
                          "src": "26494:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IJBController_$38113_$",
                            "typeString": "type(contract IJBController)"
                          }
                        },
                        "id": 17692,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "26494:61:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBController_$38113",
                          "typeString": "contract IJBController"
                        }
                      },
                      "id": 17693,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "overflowAllowanceOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37899,
                      "src": "26494:81:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$_t_uint256_$_t_contract$_IJBPaymentTerminal_$31994_$_t_address_$returns$_t_uint256_$_t_uint256_$",
                        "typeString": "function (uint256,uint256,contract IJBPaymentTerminal,address) view external returns (uint256,uint256)"
                      }
                    },
                    "id": 17707,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "26494:255:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                      "typeString": "tuple(uint256,uint256)"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "26425:324:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 17715,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17711,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 17709,
                        "name": "_newUsedOverflowAllowanceOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17668,
                        "src": "26822:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": ">",
                      "rightExpression": {
                        "id": 17710,
                        "name": "_overflowAllowanceOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17684,
                        "src": "26852:20:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "26822:50:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17714,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 17712,
                        "name": "_overflowAllowanceOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17684,
                        "src": "26876:20:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 17713,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "26900:1:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "26876:25:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "26822:79:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17719,
                  "nodeType": "IfStatement",
                  "src": "26818:131:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17716,
                        "name": "INADEQUATE_CONTROLLER_ALLOWANCE",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16792,
                        "src": "26916:31:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17717,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "26916:33:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17718,
                    "nodeType": "RevertStatement",
                    "src": "26909:40:66"
                  }
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17722,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17720,
                      "name": "_currency",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17649,
                      "src": "26999:9:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "id": 17721,
                      "name": "_overflowAllowanceCurrency",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17686,
                      "src": "27012:26:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "26999:39:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17726,
                  "nodeType": "IfStatement",
                  "src": "26995:71:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17723,
                        "name": "CURRENCY_MISMATCH",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16782,
                        "src": "27047:17:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17724,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "27047:19:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17725,
                    "nodeType": "RevertStatement",
                    "src": "27040:26:66"
                  }
                },
                {
                  "assignments": [
                    17728
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17728,
                      "mutability": "mutable",
                      "name": "_balanceCurrency",
                      "nameLocation": "27132:16:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17807,
                      "src": "27124:24:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17727,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "27124:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17735,
                  "initialValue": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 17730,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "27181:3:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 17731,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "src": "27181:10:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 17729,
                          "name": "IJBSingleTokenPaymentTerminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23154,
                          "src": "27151:29:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                            "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                          }
                        },
                        "id": 17732,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "27151:41:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        }
                      },
                      "id": 17733,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "currency",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 23148,
                      "src": "27151:50:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                        "typeString": "function () view external returns (uint256)"
                      }
                    },
                    "id": 17734,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "27151:52:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "27124:79:66"
                },
                {
                  "expression": {
                    "id": 17756,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17736,
                      "name": "usedAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17658,
                      "src": "27270:10:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "condition": {
                        "components": [
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 17739,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 17737,
                              "name": "_currency",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17649,
                              "src": "27284:9:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "id": 17738,
                              "name": "_balanceCurrency",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17728,
                              "src": "27297:16:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "27284:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          }
                        ],
                        "id": 17740,
                        "isConstant": false,
                        "isInlineArray": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "TupleExpression",
                        "src": "27283:31:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "falseExpression": {
                        "arguments": [
                          {
                            "id": 17744,
                            "name": "_amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17647,
                            "src": "27363:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 17747,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "leftExpression": {
                              "hexValue": "3130",
                              "id": 17745,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "27380:2:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_10_by_1",
                                "typeString": "int_const 10"
                              },
                              "value": "10"
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "**",
                            "rightExpression": {
                              "id": 17746,
                              "name": "_MAX_FIXED_POINT_FIDELITY",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16804,
                              "src": "27384:25:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "27380:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "arguments": [
                              {
                                "id": 17750,
                                "name": "_currency",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17649,
                                "src": "27547:9:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 17751,
                                "name": "_balanceCurrency",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17728,
                                "src": "27558:16:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 17752,
                                "name": "_MAX_FIXED_POINT_FIDELITY",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16804,
                                "src": "27576:25:66",
                                "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": 17748,
                                "name": "prices",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16819,
                                "src": "27531:6:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBPrices_$23109",
                                  "typeString": "contract IJBPrices"
                                }
                              },
                              "id": 17749,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "priceFor",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 23098,
                              "src": "27531:15:66",
                              "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": 17753,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "27531:71:66",
                            "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": 17742,
                            "name": "PRBMath",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26107,
                            "src": "27339:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                              "typeString": "type(library PRBMath)"
                            }
                          },
                          "id": 17743,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "mulDiv",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 25696,
                          "src": "27339:14:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                            "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                          }
                        },
                        "id": 17754,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "27339:271:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 17755,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "Conditional",
                      "src": "27283:327:66",
                      "trueExpression": {
                        "id": 17741,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17647,
                        "src": "27323:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "27270:340:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17757,
                  "nodeType": "ExpressionStatement",
                  "src": "27270:340:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17768,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17758,
                      "name": "usedAmount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17658,
                      "src": "27699:10:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "arguments": [
                        {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17761,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "27773:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17762,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "27773:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17760,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "27743:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17763,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "27743:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        {
                          "id": 17764,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17645,
                          "src": "27794:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 17765,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17656,
                          "src": "27814:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        {
                          "id": 17766,
                          "name": "_balanceCurrency",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17728,
                          "src": "27836:16:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 17759,
                        "name": "_overflowDuring",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18066,
                        "src": "27718:15:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_uint256_$_t_struct$_JBFundingCycle_$35849_memory_ptr_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (contract IJBSingleTokenPaymentTerminal,uint256,struct JBFundingCycle memory,uint256) view returns (uint256)"
                        }
                      },
                      "id": 17767,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "27718:142:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "27699:161:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17772,
                  "nodeType": "IfStatement",
                  "src": "27688:229:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17769,
                        "name": "INADEQUATE_PAYMENT_TERMINAL_STORE_BALANCE",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16794,
                        "src": "27874:41:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17770,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "27874:43:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17771,
                    "nodeType": "RevertStatement",
                    "src": "27867:50:66"
                  }
                },
                {
                  "expression": {
                    "id": 17785,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17773,
                            "name": "usedOverflowAllowanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16850,
                            "src": "27960:23:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
                            }
                          },
                          "id": 17781,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17775,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "28014:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17776,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "28014:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17774,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "27984:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17777,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "27984:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "27960:66:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(uint256 => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17782,
                        "indexExpression": {
                          "id": 17778,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17645,
                          "src": "28027:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "27960:78:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17783,
                      "indexExpression": {
                        "expression": {
                          "id": 17779,
                          "name": "fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17656,
                          "src": "28046:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17780,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "28046:26:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "27960:118:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 17784,
                      "name": "_newUsedOverflowAllowanceOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17668,
                      "src": "28081:27:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "27960:148:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17786,
                  "nodeType": "ExpressionStatement",
                  "src": "27960:148:66"
                },
                {
                  "expression": {
                    "id": 17805,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 17787,
                          "name": "balanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16828,
                          "src": "28152:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17793,
                        "indexExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17789,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "28192:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17790,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "28192:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17788,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "28162:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17791,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "28162:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "28152:52:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17794,
                      "indexExpression": {
                        "id": 17792,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17645,
                        "src": "28205:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "28152:64:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17804,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17795,
                            "name": "balanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16828,
                            "src": "28225:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 17800,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17797,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "28265:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17798,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "28265:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17796,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "28235:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17799,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "28235:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "28225:52:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 17802,
                        "indexExpression": {
                          "id": 17801,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17645,
                          "src": "28278:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "28225:64:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "-",
                      "rightExpression": {
                        "id": 17803,
                        "name": "usedAmount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17658,
                        "src": "28298:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "28225:83:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "28152:156:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17806,
                  "nodeType": "ExpressionStatement",
                  "src": "28152:156:66"
                }
              ]
            },
            "baseFunctions": [
              23343
            ],
            "documentation": {
              "id": 17643,
              "nodeType": "StructuredDocumentation",
              "src": "25115:638:66",
              "text": "@notice\nRecords newly used allowance funds of a project.\n@dev\nThe msg.sender must be an IJBSingleTokenPaymentTerminal. \n@param _projectId The ID of the project to use the allowance of.\n@param _amount The amount to use from the allowance, as a fixed point number. \n@param _currency The currency of the `_amount`. Must match the currency of the overflow allowance.\n@return fundingCycle The funding cycle during which the overflow allowance is being used.\n@return usedAmount The amount of terminal tokens used, as a fixed point number with the same amount of decimals as its relative terminal."
            },
            "functionSelector": "25386715",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 17653,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 17652,
                  "name": "nonReentrant",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36634,
                  "src": "25889:12:66"
                },
                "nodeType": "ModifierInvocation",
                "src": "25889:12:66"
              }
            ],
            "name": "recordUsedAllowanceOf",
            "nameLocation": "25765:21:66",
            "overrides": {
              "id": 17651,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "25876:8:66"
            },
            "parameters": {
              "id": 17650,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17645,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "25800:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17808,
                  "src": "25792:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17644,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "25792:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17647,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "25824:7:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17808,
                  "src": "25816:15:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17646,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "25816:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17649,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "25845:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17808,
                  "src": "25837:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17648,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "25837:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "25786:72:66"
            },
            "returnParameters": {
              "id": 17659,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17656,
                  "mutability": "mutable",
                  "name": "fundingCycle",
                  "nameLocation": "25937:12:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17808,
                  "src": "25915:34:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                    "typeString": "struct JBFundingCycle"
                  },
                  "typeName": {
                    "id": 17655,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17654,
                      "name": "JBFundingCycle",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 35849,
                      "src": "25915:14:66"
                    },
                    "referencedDeclaration": 35849,
                    "src": "25915:14:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                      "typeString": "struct JBFundingCycle"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17658,
                  "mutability": "mutable",
                  "name": "usedAmount",
                  "nameLocation": "25959:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17808,
                  "src": "25951:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17657,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "25951:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "25914:56:66"
            },
            "scope": 18152,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 17838,
            "nodeType": "FunctionDefinition",
            "src": "28682:280:66",
            "nodes": [],
            "body": {
              "id": 17837,
              "nodeType": "Block",
              "src": "28768:194:66",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 17835,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 17817,
                          "name": "balanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16828,
                          "src": "28804:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17823,
                        "indexExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17819,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "28844:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17820,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "28844:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17818,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "28814:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17821,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "28814:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "28804:52:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17824,
                      "indexExpression": {
                        "id": 17822,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17811,
                        "src": "28857:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "28804:64:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 17834,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 17825,
                            "name": "balanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16828,
                            "src": "28877:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 17830,
                          "indexExpression": {
                            "arguments": [
                              {
                                "expression": {
                                  "id": 17827,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "28917:3:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 17828,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "28917:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              ],
                              "id": 17826,
                              "name": "IJBSingleTokenPaymentTerminal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23154,
                              "src": "28887:29:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                              }
                            },
                            "id": 17829,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "28887:41:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "28877:52:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 17832,
                        "indexExpression": {
                          "id": 17831,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17811,
                          "src": "28930:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "28877:64:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "+",
                      "rightExpression": {
                        "id": 17833,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17813,
                        "src": "28950:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "28877:80:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "28804:153:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17836,
                  "nodeType": "ExpressionStatement",
                  "src": "28804:153:66"
                }
              ]
            },
            "baseFunctions": [
              23350
            ],
            "documentation": {
              "id": 17809,
              "nodeType": "StructuredDocumentation",
              "src": "28317:362:66",
              "text": "@notice\nRecords newly added funds for the project.\n@dev\nThe msg.sender must be an IJBSingleTokenPaymentTerminal. \n@param _projectId The ID of the project to which the funds being added belong.\n@param _amount The amount of terminal tokens added, as a fixed point number with the same amount of decimals as its relative terminal."
            },
            "functionSelector": "e7c8e3e3",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "recordAddedBalanceFor",
            "nameLocation": "28691:21:66",
            "overrides": {
              "id": 17815,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "28759:8:66"
            },
            "parameters": {
              "id": 17814,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17811,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "28721:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17838,
                  "src": "28713:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17810,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "28713:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17813,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "28741:7:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17838,
                  "src": "28733:15:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17812,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "28733:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "28712:37:66"
            },
            "returnParameters": {
              "id": 17816,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "28768:0:66"
            },
            "scope": 18152,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 17888,
            "nodeType": "FunctionDefinition",
            "src": "29368:626:66",
            "nodes": [],
            "body": {
              "id": 17887,
              "nodeType": "Block",
              "src": "29488:506:66",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    17851
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17851,
                      "mutability": "mutable",
                      "name": "_fundingCycle",
                      "nameLocation": "29579:13:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17887,
                      "src": "29557:35:66",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                        "typeString": "struct JBFundingCycle"
                      },
                      "typeName": {
                        "id": 17850,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 17849,
                          "name": "JBFundingCycle",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35849,
                          "src": "29557:14:66"
                        },
                        "referencedDeclaration": 35849,
                        "src": "29557:14:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                          "typeString": "struct JBFundingCycle"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17856,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 17854,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17841,
                        "src": "29623:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 17852,
                        "name": "fundingCycleStore",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16814,
                        "src": "29595:17:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                          "typeString": "contract IJBFundingCycleStore"
                        }
                      },
                      "id": 17853,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "currentOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 38609,
                      "src": "29595:27:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                        "typeString": "function (uint256) view external returns (struct JBFundingCycle memory)"
                      }
                    },
                    "id": 17855,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "29595:39:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                      "typeString": "struct JBFundingCycle memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "29557:77:66"
                },
                {
                  "condition": {
                    "id": 17860,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "!",
                    "prefix": true,
                    "src": "29679:41:66",
                    "subExpression": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "expression": {
                          "id": 17857,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17851,
                          "src": "29680:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17858,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "terminalMigrationAllowed",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 23635,
                        "src": "29680:38:66",
                        "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": 17859,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "29680:40:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17864,
                  "nodeType": "IfStatement",
                  "src": "29675:94:66",
                  "trueBody": {
                    "errorCall": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 17861,
                        "name": "PAYMENT_TERMINAL_MIGRATION_NOT_ALLOWED",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16800,
                        "src": "29729:38:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_error_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17862,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "29729:40:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 17863,
                    "nodeType": "RevertStatement",
                    "src": "29722:47:66"
                  }
                },
                {
                  "expression": {
                    "id": 17874,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17865,
                      "name": "balance",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17847,
                      "src": "29811:7:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 17866,
                          "name": "balanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16828,
                          "src": "29821:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17871,
                        "indexExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17868,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "29861:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17869,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "29861:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17867,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "29831:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17870,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "29831:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "29821:52:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17873,
                      "indexExpression": {
                        "id": 17872,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17841,
                        "src": "29874:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "29821:64:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "29811:74:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17875,
                  "nodeType": "ExpressionStatement",
                  "src": "29811:74:66"
                },
                {
                  "expression": {
                    "id": 17885,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 17876,
                          "name": "balanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16828,
                          "src": "29921:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 17882,
                        "indexExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17878,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "29961:3:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 17879,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "29961:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 17877,
                            "name": "IJBSingleTokenPaymentTerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23154,
                            "src": "29931:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 17880,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "29931:41:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                            "typeString": "contract IJBSingleTokenPaymentTerminal"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "29921:52:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 17883,
                      "indexExpression": {
                        "id": 17881,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17841,
                        "src": "29974:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "29921:64:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "hexValue": "30",
                      "id": 17884,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "29988:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "29921:68:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17886,
                  "nodeType": "ExpressionStatement",
                  "src": "29921:68:66"
                }
              ]
            },
            "baseFunctions": [
              23357
            ],
            "documentation": {
              "id": 17839,
              "nodeType": "StructuredDocumentation",
              "src": "28966:399:66",
              "text": "@notice\nRecords the migration of funds from this store.\n@dev\nThe msg.sender must be an IJBSingleTokenPaymentTerminal. The amount returned is in terms of the msg.senders tokens.\n@param _projectId The ID of the project being migrated.\n@return balance The project's migrated balance, as a fixed point number with the same amount of decimals as its relative terminal."
            },
            "functionSelector": "6bb6a5ad",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 17845,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 17844,
                  "name": "nonReentrant",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36634,
                  "src": "29443:12:66"
                },
                "nodeType": "ModifierInvocation",
                "src": "29443:12:66"
              }
            ],
            "name": "recordMigration",
            "nameLocation": "29377:15:66",
            "overrides": {
              "id": 17843,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "29430:8:66"
            },
            "parameters": {
              "id": 17842,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17841,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "29401:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17888,
                  "src": "29393:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17840,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "29393:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "29392:20:66"
            },
            "returnParameters": {
              "id": 17848,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17847,
                  "mutability": "mutable",
                  "name": "balance",
                  "nameLocation": "29477:7:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17888,
                  "src": "29469:15:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17846,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "29469:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "29468:17:66"
            },
            "scope": 18152,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 17969,
            "nodeType": "FunctionDefinition",
            "src": "31088:1384:66",
            "nodes": [],
            "body": {
              "id": 17968,
              "nodeType": "Block",
              "src": "31298:1174:66",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17907,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17905,
                      "name": "_tokenCount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17896,
                      "src": "31398:11:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "id": 17906,
                      "name": "_totalSupply",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17898,
                      "src": "31413:12:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "31398:27:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17910,
                  "nodeType": "IfStatement",
                  "src": "31394:49:66",
                  "trueBody": {
                    "expression": {
                      "id": 17908,
                      "name": "_overflow",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17900,
                      "src": "31434:9:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "functionReturnParameters": 17904,
                    "id": 17909,
                    "nodeType": "Return",
                    "src": "31427:16:66"
                  }
                },
                {
                  "assignments": [
                    17912
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17912,
                      "mutability": "mutable",
                      "name": "_redemptionRate",
                      "nameLocation": "31586:15:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17968,
                      "src": "31578:23:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17911,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "31578:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17927,
                  "initialValue": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_enum$_JBBallotState_$62441",
                        "typeString": "enum JBBallotState"
                      },
                      "id": 17919,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "arguments": [
                          {
                            "id": 17915,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17891,
                            "src": "31643:10:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 17913,
                            "name": "fundingCycleStore",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16814,
                            "src": "31604:17:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBFundingCycleStore_$38633",
                              "typeString": "contract IJBFundingCycleStore"
                            }
                          },
                          "id": 17914,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "currentBallotStateOf",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 38617,
                          "src": "31604:38:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_enum$_JBBallotState_$62441_$",
                            "typeString": "function (uint256) view external returns (enum JBBallotState)"
                          }
                        },
                        "id": 17916,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "31604:50:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_enum$_JBBallotState_$62441",
                          "typeString": "enum JBBallotState"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "expression": {
                          "id": 17917,
                          "name": "JBBallotState",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 62441,
                          "src": "31664:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_enum$_JBBallotState_$62441_$",
                            "typeString": "type(enum JBBallotState)"
                          }
                        },
                        "id": 17918,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "memberName": "Active",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 62438,
                        "src": "31664:20:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_enum$_JBBallotState_$62441",
                          "typeString": "enum JBBallotState"
                        }
                      },
                      "src": "31604:80:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "expression": {
                          "id": 17923,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17894,
                          "src": "31738:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17924,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "redemptionRate",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 23472,
                        "src": "31738:28:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_uint256_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                          "typeString": "function (struct JBFundingCycle memory) pure returns (uint256)"
                        }
                      },
                      "id": 17925,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "31738:30:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 17926,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "31604:164:66",
                    "trueExpression": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "expression": {
                          "id": 17920,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17894,
                          "src": "31693:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 17921,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ballotRedemptionRate",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 23495,
                        "src": "31693:34:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_struct$_JBFundingCycle_$35849_memory_ptr_$returns$_t_uint256_$bound_to$_t_struct$_JBFundingCycle_$35849_memory_ptr_$",
                          "typeString": "function (struct JBFundingCycle memory) pure returns (uint256)"
                        }
                      },
                      "id": 17922,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "31693:36:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "31578:190:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17930,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17928,
                      "name": "_redemptionRate",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17912,
                      "src": "31837:15:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 17929,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "31856:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "31837:20:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17933,
                  "nodeType": "IfStatement",
                  "src": "31833:34:66",
                  "trueBody": {
                    "expression": {
                      "hexValue": "30",
                      "id": 17931,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "31866:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "functionReturnParameters": 17904,
                    "id": 17932,
                    "nodeType": "Return",
                    "src": "31859:8:66"
                  }
                },
                {
                  "assignments": [
                    17935
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17935,
                      "mutability": "mutable",
                      "name": "_base",
                      "nameLocation": "31931:5:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 17968,
                      "src": "31923:13:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17934,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "31923:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17942,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 17938,
                        "name": "_overflow",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17900,
                        "src": "31954:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 17939,
                        "name": "_tokenCount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17896,
                        "src": "31965:11:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 17940,
                        "name": "_totalSupply",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17898,
                        "src": "31978:12:66",
                        "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": 17936,
                        "name": "PRBMath",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 26107,
                        "src": "31939:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                          "typeString": "type(library PRBMath)"
                        }
                      },
                      "id": 17937,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "mulDiv",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 25696,
                      "src": "31939:14:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                      }
                    },
                    "id": 17941,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "31939:52:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "31923:68:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17946,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17943,
                      "name": "_redemptionRate",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17912,
                      "src": "32127:15:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "expression": {
                        "id": 17944,
                        "name": "JBConstants",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 35765,
                        "src": "32146:11:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                          "typeString": "type(library JBConstants)"
                        }
                      },
                      "id": 17945,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "MAX_REDEMPTION_RATE",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 35752,
                      "src": "32146:31:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "32127:50:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17949,
                  "nodeType": "IfStatement",
                  "src": "32123:68:66",
                  "trueBody": {
                    "expression": {
                      "id": 17947,
                      "name": "_base",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17935,
                      "src": "32186:5:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "functionReturnParameters": 17904,
                    "id": 17948,
                    "nodeType": "Return",
                    "src": "32179:12:66"
                  }
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 17952,
                        "name": "_base",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17935,
                        "src": "32235:5:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 17963,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 17953,
                          "name": "_redemptionRate",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17912,
                          "src": "32250:15:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "+",
                        "rightExpression": {
                          "arguments": [
                            {
                              "id": 17956,
                              "name": "_tokenCount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17896,
                              "src": "32306:11:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 17960,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "expression": {
                                  "id": 17957,
                                  "name": "JBConstants",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 35765,
                                  "src": "32331:11:66",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                                    "typeString": "type(library JBConstants)"
                                  }
                                },
                                "id": 17958,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "MAX_REDEMPTION_RATE",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 35752,
                                "src": "32331:31:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "-",
                              "rightExpression": {
                                "id": 17959,
                                "name": "_redemptionRate",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17912,
                                "src": "32365:15:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "32331:49:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 17961,
                              "name": "_totalSupply",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17898,
                              "src": "32394:12:66",
                              "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": 17954,
                              "name": "PRBMath",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26107,
                              "src": "32278:7:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                                "typeString": "type(library PRBMath)"
                              }
                            },
                            "id": 17955,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "mulDiv",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 25696,
                            "src": "32278:14:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 17962,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "32278:140:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "32250:168:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 17964,
                          "name": "JBConstants",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 35765,
                          "src": "32428:11:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_JBConstants_$35765_$",
                            "typeString": "type(library JBConstants)"
                          }
                        },
                        "id": 17965,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "MAX_REDEMPTION_RATE",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35752,
                        "src": "32428:31:66",
                        "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": 17950,
                        "name": "PRBMath",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 26107,
                        "src": "32211:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                          "typeString": "type(library PRBMath)"
                        }
                      },
                      "id": 17951,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "mulDiv",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 25696,
                      "src": "32211:14:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                      }
                    },
                    "id": 17966,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "32211:256:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 17904,
                  "id": 17967,
                  "nodeType": "Return",
                  "src": "32198:269:66"
                }
              ]
            },
            "documentation": {
              "id": 17889,
              "nodeType": "StructuredDocumentation",
              "src": "30227:858:66",
              "text": "@notice\nThe amount of overflowed tokens from a terminal that can be reclaimed by the specified number of tokens when measured from the specified.\n@dev \nIf the project has an active funding cycle reconfiguration ballot, the project's ballot redemption rate is used.\n@param _projectId The ID of the project to get the reclaimable overflow amount for.\n@param _fundingCycle The funding cycle during which reclaimable overflow is being calculated.\n@param _tokenCount The number of tokens to make the calculation with, as a fixed point number with 18 decimals.\n@param _totalSupply The total supply of tokens to make the calculation with, as a fixed point number with 18 decimals.\n@param _overflow The amount of overflow to make the calculation with.\n@return The amount of overflowed tokens that can be reclaimed."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_reclaimableOverflowDuring",
            "nameLocation": "31097:26:66",
            "parameters": {
              "id": 17901,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17891,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "31137:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17969,
                  "src": "31129:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17890,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "31129:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17894,
                  "mutability": "mutable",
                  "name": "_fundingCycle",
                  "nameLocation": "31175:13:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17969,
                  "src": "31153:35:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                    "typeString": "struct JBFundingCycle"
                  },
                  "typeName": {
                    "id": 17893,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17892,
                      "name": "JBFundingCycle",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 35849,
                      "src": "31153:14:66"
                    },
                    "referencedDeclaration": 35849,
                    "src": "31153:14:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                      "typeString": "struct JBFundingCycle"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17896,
                  "mutability": "mutable",
                  "name": "_tokenCount",
                  "nameLocation": "31202:11:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17969,
                  "src": "31194:19:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17895,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "31194:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17898,
                  "mutability": "mutable",
                  "name": "_totalSupply",
                  "nameLocation": "31227:12:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17969,
                  "src": "31219:20:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17897,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "31219:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17900,
                  "mutability": "mutable",
                  "name": "_overflow",
                  "nameLocation": "31253:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 17969,
                  "src": "31245:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17899,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "31245:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "31123:143:66"
            },
            "returnParameters": {
              "id": 17904,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17903,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17969,
                  "src": "31289:7:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17902,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "31289:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "31288:9:66"
            },
            "scope": 18152,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 18066,
            "nodeType": "FunctionDefinition",
            "src": "33136:1640:66",
            "nodes": [],
            "body": {
              "id": 18065,
              "nodeType": "Block",
              "src": "33336:1440:66",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    17986
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 17986,
                      "mutability": "mutable",
                      "name": "_balanceOf",
                      "nameLocation": "33397:10:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 18065,
                      "src": "33389:18:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17985,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "33389:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 17992,
                  "initialValue": {
                    "baseExpression": {
                      "baseExpression": {
                        "id": 17987,
                        "name": "balanceOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16828,
                        "src": "33410:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                          "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => uint256))"
                        }
                      },
                      "id": 17989,
                      "indexExpression": {
                        "id": 17988,
                        "name": "_terminal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17973,
                        "src": "33420:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "33410:20:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                        "typeString": "mapping(uint256 => uint256)"
                      }
                    },
                    "id": 17991,
                    "indexExpression": {
                      "id": 17990,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17975,
                      "src": "33431:10:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "33410:32:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "33389:53:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17995,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17993,
                      "name": "_balanceOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17986,
                      "src": "33504:10:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 17994,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "33518:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "33504:15:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17998,
                  "nodeType": "IfStatement",
                  "src": "33500:29:66",
                  "trueBody": {
                    "expression": {
                      "hexValue": "30",
                      "id": 17996,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "33528:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "functionReturnParameters": 17984,
                    "id": 17997,
                    "nodeType": "Return",
                    "src": "33521:8:66"
                  }
                },
                {
                  "assignments": [
                    18000,
                    18002
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18000,
                      "mutability": "mutable",
                      "name": "_distributionLimit",
                      "nameLocation": "33620:18:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 18065,
                      "src": "33612:26:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 17999,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "33612:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    },
                    {
                      "constant": false,
                      "id": 18002,
                      "mutability": "mutable",
                      "name": "_distributionLimitCurrency",
                      "nameLocation": "33648:26:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 18065,
                      "src": "33640:34:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 18001,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "33640:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 18018,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 18010,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17975,
                        "src": "33760:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 18011,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17978,
                          "src": "33772:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 18012,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "configuration",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35833,
                        "src": "33772:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 18013,
                        "name": "_terminal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17973,
                        "src": "33801:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        }
                      },
                      {
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "id": 18014,
                            "name": "_terminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17973,
                            "src": "33812:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "id": 18015,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "token",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 23143,
                          "src": "33812:15:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                            "typeString": "function () view external returns (address)"
                          }
                        },
                        "id": 18016,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "33812:17:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                          "typeString": "contract IJBSingleTokenPaymentTerminal"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "arguments": [
                          {
                            "arguments": [
                              {
                                "id": 18006,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17975,
                                "src": "33722:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "id": 18004,
                                "name": "directory",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16809,
                                "src": "33699:9:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                                  "typeString": "contract IJBDirectory"
                                }
                              },
                              "id": 18005,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "controllerOf",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 31854,
                              "src": "33699:22:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                                "typeString": "function (uint256) view external returns (address)"
                              }
                            },
                            "id": 18007,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "33699:34:66",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 18003,
                          "name": "IJBController",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 38113,
                          "src": "33678:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IJBController_$38113_$",
                            "typeString": "type(contract IJBController)"
                          }
                        },
                        "id": 18008,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "33678:61:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBController_$38113",
                          "typeString": "contract IJBController"
                        }
                      },
                      "id": 18009,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "distributionLimitOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37883,
                      "src": "33678:81:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$_t_uint256_$_t_contract$_IJBPaymentTerminal_$31994_$_t_address_$returns$_t_uint256_$_t_uint256_$",
                        "typeString": "function (uint256,uint256,contract IJBPaymentTerminal,address) view external returns (uint256,uint256)"
                      }
                    },
                    "id": 18017,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "33678:152:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                      "typeString": "tuple(uint256,uint256)"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "33611:219:66"
                },
                {
                  "assignments": [
                    18020
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18020,
                      "mutability": "mutable",
                      "name": "_distributionLimitRemaining",
                      "nameLocation": "33928:27:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 18065,
                      "src": "33920:35:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 18019,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "33920:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 18031,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18030,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 18021,
                      "name": "_distributionLimit",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18000,
                      "src": "33958:18:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 18022,
                            "name": "usedDistributionLimitOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16839,
                            "src": "33985:23:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$_t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                              "typeString": "mapping(contract IJBSingleTokenPaymentTerminal => mapping(uint256 => mapping(uint256 => uint256)))"
                            }
                          },
                          "id": 18024,
                          "indexExpression": {
                            "id": 18023,
                            "name": "_terminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17973,
                            "src": "34009:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "contract IJBSingleTokenPaymentTerminal"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "33985:34:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(uint256 => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 18026,
                        "indexExpression": {
                          "id": 18025,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17975,
                          "src": "34020:10:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "33985:46:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 18029,
                      "indexExpression": {
                        "expression": {
                          "id": 18027,
                          "name": "_fundingCycle",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17978,
                          "src": "34032:13:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                            "typeString": "struct JBFundingCycle memory"
                          }
                        },
                        "id": 18028,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "number",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35831,
                        "src": "34032:20:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "33985:68:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "33958:95:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "33920:133:66"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 18038,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 18034,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 18032,
                        "name": "_distributionLimitRemaining",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18020,
                        "src": "34147:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "!=",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 18033,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "34178:1:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "34147:32:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "&&",
                    "rightExpression": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 18037,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 18035,
                        "name": "_distributionLimitCurrency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18002,
                        "src": "34183:26:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "!=",
                      "rightExpression": {
                        "id": 18036,
                        "name": "_balanceCurrency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17980,
                        "src": "34213:16:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "34183:46:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "34147:82:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 18055,
                  "nodeType": "IfStatement",
                  "src": "34143:432:66",
                  "trueBody": {
                    "expression": {
                      "id": 18053,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 18039,
                        "name": "_distributionLimitRemaining",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18020,
                        "src": "34237:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "arguments": [
                          {
                            "id": 18042,
                            "name": "_distributionLimitRemaining",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 18020,
                            "src": "34291:27:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 18045,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "leftExpression": {
                              "hexValue": "3130",
                              "id": 18043,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "34328:2:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_10_by_1",
                                "typeString": "int_const 10"
                              },
                              "value": "10"
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "**",
                            "rightExpression": {
                              "id": 18044,
                              "name": "_MAX_FIXED_POINT_FIDELITY",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16804,
                              "src": "34332:25:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "34328:29:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "arguments": [
                              {
                                "id": 18048,
                                "name": "_distributionLimitCurrency",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 18002,
                                "src": "34495:26:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 18049,
                                "name": "_balanceCurrency",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17980,
                                "src": "34523:16:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 18050,
                                "name": "_MAX_FIXED_POINT_FIDELITY",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16804,
                                "src": "34541:25:66",
                                "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": 18046,
                                "name": "prices",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16819,
                                "src": "34479:6:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IJBPrices_$23109",
                                  "typeString": "contract IJBPrices"
                                }
                              },
                              "id": 18047,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "priceFor",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 23098,
                              "src": "34479:15:66",
                              "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": 18051,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "34479:88:66",
                            "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": 18040,
                            "name": "PRBMath",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26107,
                            "src": "34267:7:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                              "typeString": "type(library PRBMath)"
                            }
                          },
                          "id": 18041,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "mulDiv",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 25696,
                          "src": "34267:14:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                            "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                          }
                        },
                        "id": 18052,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "34267:308:66",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "34237:338:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 18054,
                    "nodeType": "ExpressionStatement",
                    "src": "34237:338:66"
                  }
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 18058,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 18056,
                        "name": "_balanceOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17986,
                        "src": "34684:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": ">",
                      "rightExpression": {
                        "id": 18057,
                        "name": "_distributionLimitRemaining",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18020,
                        "src": "34697:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "34684:40:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "hexValue": "30",
                      "id": 18062,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "34770:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "id": 18063,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "34684:87:66",
                    "trueExpression": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 18061,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 18059,
                        "name": "_balanceOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17986,
                        "src": "34727:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "-",
                      "rightExpression": {
                        "id": 18060,
                        "name": "_distributionLimitRemaining",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18020,
                        "src": "34740:27:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "34727:40:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 17984,
                  "id": 18064,
                  "nodeType": "Return",
                  "src": "34677:94:66"
                }
              ]
            },
            "documentation": {
              "id": 17970,
              "nodeType": "StructuredDocumentation",
              "src": "32476:657:66",
              "text": "@notice\nGets the amount that is overflowing when measured from the specified funding cycle.\n@dev\nThis amount changes as the value of the balance changes in relation to the currency being used to measure the distribution limit.\n@param _terminal The terminal for which the overflow is being calculated.\n@param _projectId The ID of the project to get overflow for.\n@param _fundingCycle The ID of the funding cycle to base the overflow on.\n@param _balanceCurrency The currency that the stored balance is expected to be in terms of.\n@return overflow The overflow of funds, as a fixed point number with 18 decimals."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_overflowDuring",
            "nameLocation": "33145:15:66",
            "parameters": {
              "id": 17981,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17973,
                  "mutability": "mutable",
                  "name": "_terminal",
                  "nameLocation": "33196:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 18066,
                  "src": "33166:39:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                    "typeString": "contract IJBSingleTokenPaymentTerminal"
                  },
                  "typeName": {
                    "id": 17972,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17971,
                      "name": "IJBSingleTokenPaymentTerminal",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23154,
                      "src": "33166:29:66"
                    },
                    "referencedDeclaration": 23154,
                    "src": "33166:29:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                      "typeString": "contract IJBSingleTokenPaymentTerminal"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17975,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "33219:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 18066,
                  "src": "33211:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17974,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "33211:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17978,
                  "mutability": "mutable",
                  "name": "_fundingCycle",
                  "nameLocation": "33257:13:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 18066,
                  "src": "33235:35:66",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBFundingCycle_$35849_memory_ptr",
                    "typeString": "struct JBFundingCycle"
                  },
                  "typeName": {
                    "id": 17977,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17976,
                      "name": "JBFundingCycle",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 35849,
                      "src": "33235:14:66"
                    },
                    "referencedDeclaration": 35849,
                    "src": "33235:14:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBFundingCycle_$35849_storage_ptr",
                      "typeString": "struct JBFundingCycle"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17980,
                  "mutability": "mutable",
                  "name": "_balanceCurrency",
                  "nameLocation": "33284:16:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 18066,
                  "src": "33276:24:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17979,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "33276:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "33160:144:66"
            },
            "returnParameters": {
              "id": 17984,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17983,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 18066,
                  "src": "33327:7:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17982,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "33327:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "33326:9:66"
            },
            "scope": 18152,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 18151,
            "nodeType": "FunctionDefinition",
            "src": "35351:1159:66",
            "nodes": [],
            "body": {
              "id": 18150,
              "nodeType": "Block",
              "src": "35489:1021:66",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    18082
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18082,
                      "mutability": "mutable",
                      "name": "_terminals",
                      "nameLocation": "35574:10:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 18150,
                      "src": "35546:38:66",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$31994_$dyn_memory_ptr",
                        "typeString": "contract IJBPaymentTerminal[]"
                      },
                      "typeName": {
                        "baseType": {
                          "id": 18080,
                          "nodeType": "UserDefinedTypeName",
                          "pathNode": {
                            "id": 18079,
                            "name": "IJBPaymentTerminal",
                            "nodeType": "IdentifierPath",
                            "referencedDeclaration": 31994,
                            "src": "35546:18:66"
                          },
                          "referencedDeclaration": 31994,
                          "src": "35546:18:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                            "typeString": "contract IJBPaymentTerminal"
                          }
                        },
                        "id": 18081,
                        "nodeType": "ArrayTypeName",
                        "src": "35546:20:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$31994_$dyn_storage_ptr",
                          "typeString": "contract IJBPaymentTerminal[]"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 18087,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 18085,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18069,
                        "src": "35609:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 18083,
                        "name": "directory",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16809,
                        "src": "35587:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IJBDirectory_$31924",
                          "typeString": "contract IJBDirectory"
                        }
                      },
                      "id": 18084,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "terminalsOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 31870,
                      "src": "35587:21:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_contract$_IJBPaymentTerminal_$31994_$dyn_memory_ptr_$",
                        "typeString": "function (uint256) view external returns (contract IJBPaymentTerminal[] memory)"
                      }
                    },
                    "id": 18086,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "35587:33:66",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$31994_$dyn_memory_ptr",
                      "typeString": "contract IJBPaymentTerminal[] memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "35546:74:66"
                },
                {
                  "assignments": [
                    18089
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18089,
                      "mutability": "mutable",
                      "name": "_ethOverflow",
                      "nameLocation": "35743:12:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 18150,
                      "src": "35735:20:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 18088,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "35735:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 18090,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "35735:20:66"
                },
                {
                  "body": {
                    "expression": {
                      "id": 18111,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 18102,
                        "name": "_ethOverflow",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18089,
                        "src": "35874:12:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 18110,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 18103,
                          "name": "_ethOverflow",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18089,
                          "src": "35889:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "+",
                        "rightExpression": {
                          "arguments": [
                            {
                              "id": 18108,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 18069,
                              "src": "35940:10:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "baseExpression": {
                                "id": 18104,
                                "name": "_terminals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 18082,
                                "src": "35904:10:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$31994_$dyn_memory_ptr",
                                  "typeString": "contract IJBPaymentTerminal[] memory"
                                }
                              },
                              "id": 18106,
                              "indexExpression": {
                                "id": 18105,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 18092,
                                "src": "35915:2:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "35904:14:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBPaymentTerminal_$31994",
                                "typeString": "contract IJBPaymentTerminal"
                              }
                            },
                            "id": 18107,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "currentEthOverflowOf",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 31959,
                            "src": "35904:35:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256) view external returns (uint256)"
                            }
                          },
                          "id": 18109,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "35904:47:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "35889:62:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "35874:77:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 18112,
                    "nodeType": "ExpressionStatement",
                    "src": "35874:77:66"
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18098,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 18095,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18092,
                      "src": "35838:2:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 18096,
                        "name": "_terminals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18082,
                        "src": "35843:10:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_contract$_IJBPaymentTerminal_$31994_$dyn_memory_ptr",
                          "typeString": "contract IJBPaymentTerminal[] memory"
                        }
                      },
                      "id": 18097,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "35843:17:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "35838:22:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 18113,
                  "initializationExpression": {
                    "assignments": [
                      18092
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 18092,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "35830:2:66",
                        "nodeType": "VariableDeclaration",
                        "scope": 18113,
                        "src": "35822:10:66",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 18091,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "35822:7:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 18094,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 18093,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "35835:1:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "35822:14:66"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 18100,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "35862:4:66",
                      "subExpression": {
                        "id": 18099,
                        "name": "_i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18092,
                        "src": "35862:2:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 18101,
                    "nodeType": "ExpressionStatement",
                    "src": "35862:4:66"
                  },
                  "nodeType": "ForStatement",
                  "src": "35817:134:66"
                },
                {
                  "assignments": [
                    18115
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18115,
                      "mutability": "mutable",
                      "name": "_totalOverflow18Decimal",
                      "nameLocation": "36086:23:66",
                      "nodeType": "VariableDeclaration",
                      "scope": 18150,
                      "src": "36078:31:66",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 18114,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "36078:7:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 18136,
                  "initialValue": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 18119,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 18116,
                        "name": "_currency",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 18073,
                        "src": "36112:9:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "expression": {
                          "id": 18117,
                          "name": "JBCurrencies",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 38211,
                          "src": "36125:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_JBCurrencies_$38211_$",
                            "typeString": "type(library JBCurrencies)"
                          }
                        },
                        "id": 18118,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ETH",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 38207,
                        "src": "36125:16:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "36112:29:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "arguments": [
                        {
                          "id": 18123,
                          "name": "_ethOverflow",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18089,
                          "src": "36186:12:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "commonType": {
                            "typeIdentifier": "t_rational_1000000000000000000_by_1",
                            "typeString": "int_const 1000000000000000000"
                          },
                          "id": 18126,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "leftExpression": {
                            "hexValue": "3130",
                            "id": 18124,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "36200:2:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_10_by_1",
                              "typeString": "int_const 10"
                            },
                            "value": "10"
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "**",
                          "rightExpression": {
                            "hexValue": "3138",
                            "id": 18125,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "36204:2:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_18_by_1",
                              "typeString": "int_const 18"
                            },
                            "value": "18"
                          },
                          "src": "36200:6:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1000000000000000000_by_1",
                            "typeString": "int_const 1000000000000000000"
                          }
                        },
                        {
                          "arguments": [
                            {
                              "expression": {
                                "id": 18129,
                                "name": "JBCurrencies",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 38211,
                                "src": "36224:12:66",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_JBCurrencies_$38211_$",
                                  "typeString": "type(library JBCurrencies)"
                                }
                              },
                              "id": 18130,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "ETH",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 38207,
                              "src": "36224:16:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 18131,
                              "name": "_currency",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 18073,
                              "src": "36242:9:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "hexValue": "3138",
                              "id": 18132,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "36253:2:66",
                              "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": 18127,
                              "name": "prices",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16819,
                              "src": "36208:6:66",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IJBPrices_$23109",
                                "typeString": "contract IJBPrices"
                              }
                            },
                            "id": 18128,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "priceFor",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 23098,
                            "src": "36208:15:66",
                            "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": 18133,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "36208:48:66",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_rational_1000000000000000000_by_1",
                            "typeString": "int_const 1000000000000000000"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 18121,
                          "name": "PRBMath",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26107,
                          "src": "36171:7:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                            "typeString": "type(library PRBMath)"
                          }
                        },
                        "id": 18122,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mulDiv",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 25696,
                        "src": "36171:14:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 18134,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "36171:86:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 18135,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "36112:145:66",
                    "trueExpression": {
                      "id": 18120,
                      "name": "_ethOverflow",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18089,
                      "src": "36150:12:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "36078:179:66"
                },
                {
                  "expression": {
                    "condition": {
                      "components": [
                        {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 18139,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 18137,
                            "name": "_decimals",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 18071,
                            "src": "36371:9:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "hexValue": "3138",
                            "id": 18138,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "36384:2:66",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_18_by_1",
                              "typeString": "int_const 18"
                            },
                            "value": "18"
                          },
                          "src": "36371:15:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        }
                      ],
                      "id": 18140,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "36370:17:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "arguments": [
                        {
                          "id": 18144,
                          "name": "_totalOverflow18Decimal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18115,
                          "src": "36466:23:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "hexValue": "3138",
                          "id": 18145,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "36491:2:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_18_by_1",
                            "typeString": "int_const 18"
                          },
                          "value": "18"
                        },
                        {
                          "id": 18146,
                          "name": "_decimals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18071,
                          "src": "36495:9:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_rational_18_by_1",
                            "typeString": "int_const 18"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 18142,
                          "name": "JBFixedPointNumber",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23401,
                          "src": "36432:18:66",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_JBFixedPointNumber_$23401_$",
                            "typeString": "type(library JBFixedPointNumber)"
                          }
                        },
                        "id": 18143,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "adjustDecimals",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 23400,
                        "src": "36432:33:66",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 18147,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "36432:73:66",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 18148,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "36370:135:66",
                    "trueExpression": {
                      "id": 18141,
                      "name": "_totalOverflow18Decimal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18115,
                      "src": "36398:23:66",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 18077,
                  "id": 18149,
                  "nodeType": "Return",
                  "src": "36357:148:66"
                }
              ]
            },
            "documentation": {
              "id": 18067,
              "nodeType": "StructuredDocumentation",
              "src": "34780:568:66",
              "text": "@notice\nGets the amount that is currently overflowing across all of a project's terminals. \n@dev\nThis amount changes as the value of the balances changes in relation to the currency being used to measure the project's distribution limits.\n@param _projectId The ID of the project to get the total overflow for.\n@param _decimals The number of decimals that the fixed point overflow should include.\n@param _currency The currency that the overflow should be in terms of.\n@return overflow The total overflow of a project's funds."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_currentTotalOverflowOf",
            "nameLocation": "35360:23:66",
            "parameters": {
              "id": 18074,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18069,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "35397:10:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 18151,
                  "src": "35389:18:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 18068,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35389:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18071,
                  "mutability": "mutable",
                  "name": "_decimals",
                  "nameLocation": "35421:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 18151,
                  "src": "35413:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 18070,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35413:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18073,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "35444:9:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 18151,
                  "src": "35436:17:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 18072,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35436:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "35383:74:66"
            },
            "returnParameters": {
              "id": 18077,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18076,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 18151,
                  "src": "35480:7:66",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 18075,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "35480:7:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "35479:9:66"
            },
            "scope": 18152,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 16773,
              "name": "ReentrancyGuard",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 36669,
              "src": "910:15:66"
            },
            "id": 16774,
            "nodeType": "InheritanceSpecifier",
            "src": "910:15:66"
          },
          {
            "baseName": {
              "id": 16775,
              "name": "IJBSingleTokenPaymentTerminalStore",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 23358,
              "src": "927:34:66"
            },
            "id": 16776,
            "nodeType": "InheritanceSpecifier",
            "src": "927:34:66"
          }
        ],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 16772,
          "nodeType": "StructuredDocumentation",
          "src": "450:413:66",
          "text": "@notice\nManages all bookkeeping for inflows and outflows of funds from any ISingleTokenPaymentTerminal.\n@dev\nAdheres to:\nIJBSingleTokenPaymentTerminalStore: 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 -\nReentrancyGuard: Contract module that helps prevent reentrant calls to a function."
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          18152,
          23358,
          36669
        ],
        "name": "JBSingleTokenPaymentTerminalStore",
        "nameLocation": "873:33:66",
        "scope": 18153,
        "usedErrors": [
          16782,
          16784,
          16786,
          16788,
          16790,
          16792,
          16794,
          16796,
          16798,
          16800,
          24227
        ]
      }
    ],
    "license": "MIT"
  },
  "id": 66
}