IObligationReceipt
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.16;
import { IRedeemable } from "../interfaces/IRedeemable.sol";
interface IObligationReceipt is IRedeemable {
function setDelegate(uint256 tokenId, address to, bool value) external;
}
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.16;
import { IAddressProvider } from "../interfaces/IAddressProvider.sol";
import { DataTypes } from "../protocol/libraries/types/DataTypes.sol";
interface IRedeemable {
function mint(address lender, uint256 tokenId, bytes memory data) external;
function burn(uint256 tokenId) external;
function exists(uint256 tokenId) external returns (bool);
function setBaseURI(string memory customBaseURI) external;
function getLoan(uint256 _tokenId) external view returns (DataTypes.TokenizedLoan memory);
}
Last updated