Skip to content

Commit

Permalink
fix: cleanup IPaymentCollector and TAPCollector docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasedgeandnode committed Jan 8, 2025
1 parent 1038cf4 commit 25e291d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions packages/horizon/contracts/interfaces/IPaymentsCollector.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ interface IPaymentsCollector {
* @notice Initiate a payment collection through the payments protocol
* @dev This function should require the caller to present some form of evidence of the payer's debt to
* the receiver. The collector should validate this evidence and, if valid, collect the payment.
* Requirements:
* - The caller must be the data service the RAV was issued to
* - The signer of the RAV must be authorized to sign for the payer
*
* Emits a {PaymentCollected} event
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ contract TAPCollector is EIP712, GraphDirectory, ITAPCollector {
* @notice Initiate a payment collection through the payments protocol
* See {IGraphPayments.collect}.
* @dev Caller must be the data service the RAV was issued to.
* @dev Service provider must have an active provision with the data service to collect payments
* @dev The signer of the RAV must be authorized to sign for the payer.
* @dev Service provider must have an active provision with the data service to collect payments.
* @notice REVERT: This function may revert if ECDSA.recover fails, check ECDSA library for details.
*/
function collect(IGraphPayments.PaymentTypes paymentType, bytes memory data) external override returns (uint256) {
Expand Down

0 comments on commit 25e291d

Please sign in to comment.