Skip to content

Commit

Permalink
payment accepted in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ScreamingHawk committed Jul 8, 2024
1 parent 90c6751 commit 29dca33
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/payments/IPayments.sol
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ interface IPaymentsFunctions {
* @return paymentHash The hash of the payment details for signing.
*/
function hashPaymentDetails(PaymentDetails calldata paymentDetails) external view returns (bytes32 paymentHash);

/**
* Check if a payment has been accepted.
* @param purchaseId The ID of the purchase.
* @return accepted True if the payment has been accepted.
*/
function paymentAccepted(uint256 purchaseId) external view returns (bool);
}

interface IPaymentsSignals {
Expand Down

0 comments on commit 29dca33

Please sign in to comment.