IExpressRelay.sol 707 B

1234567891011121314
  1. // SPDX-License-Identifier: Apache 2
  2. pragma solidity ^0.8.0;
  3. interface IExpressRelay {
  4. // Check if the combination of protocol and permissionKey is allowed within this transaction.
  5. // This will return true if and only if it's being called while executing the auction winner(s) call.
  6. // @param protocolFeeReceiver The address of the protocol that is gating an action behind this permission
  7. // @param permissionId The id that represents the action being gated
  8. // @return permissioned True if the permission is allowed, false otherwise
  9. function isPermissioned(
  10. address protocolFeeReceiver,
  11. bytes calldata permissionId
  12. ) external view returns (bool permissioned);
  13. }