Skip to content

Commit

Permalink
Adds Fast forwardable facet.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesduncombe committed Mar 5, 2024
1 parent 36c5713 commit 086833f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions contracts/fast/FastForwardableFacet.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import "../common/AHasForwarder.sol";
import "./lib/AFastFacet.sol";

/**
* @title The Fast forwardable contract.
* @notice The Fast Forwardable facet is in charge of "gasless transactions".
*/
contract FastForwardableFacet is AFastFacet, AHasForwarder {
/// AHasForwarder implementation.

// For now the forwarder manager is an issuer.
function isValidForwarderManager(address who) internal view override(AHasForwarder) returns (bool) {
return _isIssuerMember(who);
}
}
3 changes: 2 additions & 1 deletion tasks/fast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ const FAST_FACETS = [
"FastTokenFacet",
"FastHistoryFacet",
"FastFrontendFacet",
"FastForwardableFacet",
"FastDistributionsFacet",
"FastCrowdfundsFacet",
"FastCrowdfundsFacet"
];
interface FastDeployParams {
readonly governor: string;
Expand Down

0 comments on commit 086833f

Please sign in to comment.