DealManager
Last updated
Last updated
struct DealData {
string uuid;
uint createdAt;
uint updatedAt;
bool interestDiscoveryActive;
bool fundraisingActiveForRegistered;
bool fundraisingActiveForEveryone;
bool refundAllowed;
uint256 minAllocation;
uint256 maxAllocation;
uint256 totalAllocation;
IERC20 collectedToken;
}
interface IDealManager {
function storeDeal(DealData memory deal) external;
function existDealByUuid(string memory uuid) external view returns (bool);
function countDeals() external view returns (uint);
function getDealByUuid(
string memory uuid
) external view returns (DealData memory);
function getDealById(
uint256 id
) external view returns (DealData memory);
}