{
  "abi": [
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "currentFundingCycleConfiguration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "projectTokenCount",
              "type": "uint256"
            },
            {
              "components": [
                {
                  "internalType": "address",
                  "name": "token",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "value",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "decimals",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currency",
                  "type": "uint256"
                }
              ],
              "internalType": "struct JBTokenAmount",
              "name": "reclaimedAmount",
              "type": "tuple"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "metadata",
              "type": "bytes"
            }
          ],
          "internalType": "struct JBDidRedeemData",
          "name": "_data",
          "type": "tuple"
        }
      ],
      "name": "didRedeem",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "methodIdentifiers": {
    "didRedeem((address,uint256,uint256,uint256,(address,uint256,uint256,uint256),address,string,bytes))": "2400e8f7",
    "supportsInterface(bytes4)": "01ffc9a7"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentFundingCycleConfiguration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"projectTokenCount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currency\",\"type\":\"uint256\"}],\"internalType\":\"struct JBTokenAmount\",\"name\":\"reclaimedAmount\",\"type\":\"tuple\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"struct JBDidRedeemData\",\"name\":\"_data\",\"type\":\"tuple\"}],\"name\":\"didRedeem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to: IERC165 for adequate interface integration\",\"kind\":\"dev\",\"methods\":{\"didRedeem((address,uint256,uint256,uint256,(address,uint256,uint256,uint256),address,string,bytes))\":{\"details\":\"Critical business logic should be protected by an appropriate access control\",\"params\":{\"_data\":\"the data passed by the terminal, as a JBDidRedeemData struct: address holder; uint256 projectId; uint256 currentFundingCycleConfiguration; uint256 projectTokenCount; JBTokenAmount reclaimedAmount; address payable beneficiary; string memo; bytes metadata;\"}},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"title\":\"Redemption delegate\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"didRedeem((address,uint256,uint256,uint256,(address,uint256,uint256,uint256),address,string,bytes))\":{\"notice\":\"This function is called by JBPaymentTerminal.redeemTokensOf(..), after the execution of its logic\"}},\"notice\":\"Delegate called after JBTerminal.redeemTokensOf(..) logic completion (if passed by the funding cycle datasource)\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/contracts/interfaces/IJBRedemptionDelegate.sol\":\"IJBRedemptionDelegate\"},\"evmVersion\":\"berlin\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":10000000},\"remappings\":[\":@chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":@jbx-protocol-v1/=lib/juice-contracts-v1/\",\":@jbx-protocol-v2/=lib/juice-contracts-v2/\",\":@jbx-protocol-v3/=lib/juice-contracts-v3/\",\":@juicebox/=lib/juice-contracts-v2/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/\",\":chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":ds-test/=lib/juice-contracts-v2/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":juice-contracts-v1/=lib/juice-contracts-v1/contracts/\",\":juice-contracts-v2/=lib/juice-contracts-v2/contracts/\",\":juice-contracts-v3/=lib/juice-contracts-v3/contracts/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\",\":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/\",\":prb-math/=lib/juice-contracts-v2/lib/prb-math/\"]},\"sources\":{\"lib/juice-contracts-v2/contracts/interfaces/IJBRedemptionDelegate.sol\":{\"keccak256\":\"0xc9d3db9f3069a7ce71fabd775330bd3ce084210b3e03157b26791ba3a9eed766\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a2a775406e7e1904d779065a778618afe21cad2aac918c3da7c79eafa5dbce5\",\"dweb:/ipfs/QmSA24ByUAT3tcfDkHRMNhdsr1G1CMDHBWtuGYPt2ePR31\"]},\"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/JBTokenAmount.sol\":{\"keccak256\":\"0x4a778e779ba257ba5638c5469e07a4d21b55a3128d56db5a0fdfacb1f3301c51\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fdb8302e06c5b4e1e91d204ed735d8d5db5bb3648200c144d7c545678010a44d\",\"dweb:/ipfs/QmTpffbt3FShkk8LDjsonVGnecbbNMUL8QHYQM7AFcMa54\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}",
  "metadata": {
    "compiler": {
      "version": "0.8.6+commit.11564f7e"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [
            {
              "internalType": "struct JBDidRedeemData",
              "name": "_data",
              "type": "tuple",
              "components": [
                {
                  "internalType": "address",
                  "name": "holder",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "projectId",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currentFundingCycleConfiguration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "projectTokenCount",
                  "type": "uint256"
                },
                {
                  "internalType": "struct JBTokenAmount",
                  "name": "reclaimedAmount",
                  "type": "tuple",
                  "components": [
                    {
                      "internalType": "address",
                      "name": "token",
                      "type": "address"
                    },
                    {
                      "internalType": "uint256",
                      "name": "value",
                      "type": "uint256"
                    },
                    {
                      "internalType": "uint256",
                      "name": "decimals",
                      "type": "uint256"
                    },
                    {
                      "internalType": "uint256",
                      "name": "currency",
                      "type": "uint256"
                    }
                  ]
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "string",
                  "name": "memo",
                  "type": "string"
                },
                {
                  "internalType": "bytes",
                  "name": "metadata",
                  "type": "bytes"
                }
              ]
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "didRedeem"
        },
        {
          "inputs": [
            {
              "internalType": "bytes4",
              "name": "interfaceId",
              "type": "bytes4"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "supportsInterface",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "didRedeem((address,uint256,uint256,uint256,(address,uint256,uint256,uint256),address,string,bytes))": {
            "details": "Critical business logic should be protected by an appropriate access control",
            "params": {
              "_data": "the data passed by the terminal, as a JBDidRedeemData struct: address holder; uint256 projectId; uint256 currentFundingCycleConfiguration; uint256 projectTokenCount; JBTokenAmount reclaimedAmount; address payable beneficiary; string memo; bytes metadata;"
            }
          },
          "supportsInterface(bytes4)": {
            "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "didRedeem((address,uint256,uint256,uint256,(address,uint256,uint256,uint256),address,string,bytes))": {
            "notice": "This function is called by JBPaymentTerminal.redeemTokensOf(..), after the execution of its logic"
          }
        },
        "version": 1
      }
    },
    "settings": {
      "remappings": [
        ":@chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":@jbx-protocol-v1/=lib/juice-contracts-v1/",
        ":@jbx-protocol-v2/=lib/juice-contracts-v2/",
        ":@jbx-protocol-v3/=lib/juice-contracts-v3/",
        ":@juicebox/=lib/juice-contracts-v2/contracts/",
        ":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
        ":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/",
        ":chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":ds-test/=lib/juice-contracts-v2/lib/ds-test/src/",
        ":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
        ":forge-std/=lib/forge-std/src/",
        ":juice-contracts-v1/=lib/juice-contracts-v1/contracts/",
        ":juice-contracts-v2/=lib/juice-contracts-v2/contracts/",
        ":juice-contracts-v3/=lib/juice-contracts-v3/contracts/",
        ":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
        ":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/",
        ":prb-math/=lib/juice-contracts-v2/lib/prb-math/"
      ],
      "optimizer": {
        "enabled": true,
        "runs": 10000000
      },
      "metadata": {
        "bytecodeHash": "ipfs"
      },
      "compilationTarget": {
        "lib/juice-contracts-v2/contracts/interfaces/IJBRedemptionDelegate.sol": "IJBRedemptionDelegate"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/contracts/interfaces/IJBRedemptionDelegate.sol": {
        "keccak256": "0xc9d3db9f3069a7ce71fabd775330bd3ce084210b3e03157b26791ba3a9eed766",
        "urls": [
          "bzz-raw://3a2a775406e7e1904d779065a778618afe21cad2aac918c3da7c79eafa5dbce5",
          "dweb:/ipfs/QmSA24ByUAT3tcfDkHRMNhdsr1G1CMDHBWtuGYPt2ePR31"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBDidRedeemData.sol": {
        "keccak256": "0x6ed3aa03a3c983f2dadc85107625707b20334afa6ed7fb51dff0e33ed018dbcd",
        "urls": [
          "bzz-raw://98f1c65f54b4763202d25bbec7d7185318d1125ca16a405ad2e7601180e77729",
          "dweb:/ipfs/QmSNsZSsZgYMvr4FBsiU2vm6otbWFPn81CEXK58LDAka9w"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBTokenAmount.sol": {
        "keccak256": "0x4a778e779ba257ba5638c5469e07a4d21b55a3128d56db5a0fdfacb1f3301c51",
        "urls": [
          "bzz-raw://fdb8302e06c5b4e1e91d204ed735d8d5db5bb3648200c144d7c545678010a44d",
          "dweb:/ipfs/QmTpffbt3FShkk8LDjsonVGnecbbNMUL8QHYQM7AFcMa54"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol": {
        "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",
        "urls": [
          "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f",
          "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBRedemptionDelegate.sol",
    "id": 38222,
    "exportedSymbols": {
      "IERC165": [
        38552
      ],
      "IJBRedemptionDelegate": [
        38221
      ],
      "JBDidRedeemData": [
        35555
      ],
      "JBTokenAmount": [
        38191
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:1097:89",
    "nodes": [
      {
        "id": 38208,
        "nodeType": "PragmaDirective",
        "src": "32:23:89",
        "nodes": [],
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ]
      },
      {
        "id": 38209,
        "nodeType": "ImportDirective",
        "src": "57:65:89",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 38222,
        "sourceUnit": 38553,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 38210,
        "nodeType": "ImportDirective",
        "src": "123:42:89",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/structs/JBDidRedeemData.sol",
        "file": "./../structs/JBDidRedeemData.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 38222,
        "sourceUnit": 35556,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 38221,
        "nodeType": "ContractDefinition",
        "src": "398:730:89",
        "nodes": [
          {
            "id": 38220,
            "nodeType": "FunctionDefinition",
            "src": "1066:60:89",
            "nodes": [],
            "documentation": {
              "id": 38214,
              "nodeType": "StructuredDocumentation",
              "src": "445:618:89",
              "text": "@notice\nThis function is called by JBPaymentTerminal.redeemTokensOf(..), after the execution of its logic\n@dev\nCritical business logic should be protected by an appropriate access control\n@param _data the data passed by the terminal, as a JBDidRedeemData struct:\naddress holder;\nuint256 projectId;\nuint256 currentFundingCycleConfiguration;\nuint256 projectTokenCount;\nJBTokenAmount reclaimedAmount;\naddress payable beneficiary;\nstring memo;\nbytes metadata;"
            },
            "functionSelector": "2400e8f7",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "didRedeem",
            "nameLocation": "1075:9:89",
            "parameters": {
              "id": 38218,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 38217,
                  "mutability": "mutable",
                  "name": "_data",
                  "nameLocation": "1110:5:89",
                  "nodeType": "VariableDeclaration",
                  "scope": 38220,
                  "src": "1085:30:89",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBDidRedeemData_$35555_calldata_ptr",
                    "typeString": "struct JBDidRedeemData"
                  },
                  "typeName": {
                    "id": 38216,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 38215,
                      "name": "JBDidRedeemData",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 35555,
                      "src": "1085:15:89"
                    },
                    "referencedDeclaration": 35555,
                    "src": "1085:15:89",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBDidRedeemData_$35555_storage_ptr",
                      "typeString": "struct JBDidRedeemData"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1084:32:89"
            },
            "returnParameters": {
              "id": 38219,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1125:0:89"
            },
            "scope": 38221,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 38212,
              "name": "IERC165",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 38552,
              "src": "433:7:89"
            },
            "id": 38213,
            "nodeType": "InheritanceSpecifier",
            "src": "433:7:89"
          }
        ],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 38211,
          "nodeType": "StructuredDocumentation",
          "src": "167:230:89",
          "text": "@title\nRedemption delegate\n@notice\nDelegate called after JBTerminal.redeemTokensOf(..) logic completion (if passed by the funding cycle datasource)\n@dev\nAdheres to:\nIERC165 for adequate interface integration"
        },
        "fullyImplemented": false,
        "linearizedBaseContracts": [
          38221,
          38552
        ],
        "name": "IJBRedemptionDelegate",
        "nameLocation": "408:21:89",
        "scope": 38222,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 89
}