diff --git a/contracts/fast/FastForwardableFacet.sol b/contracts/fast/FastForwardableFacet.sol new file mode 100644 index 00000000..9be5b8b9 --- /dev/null +++ b/contracts/fast/FastForwardableFacet.sol @@ -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); + } +} diff --git a/tasks/fast.ts b/tasks/fast.ts index 5213e633..47c9a09a 100644 --- a/tasks/fast.ts +++ b/tasks/fast.ts @@ -210,8 +210,9 @@ const FAST_FACETS = [ "FastTokenFacet", "FastHistoryFacet", "FastFrontendFacet", + "FastForwardableFacet", "FastDistributionsFacet", - "FastCrowdfundsFacet", + "FastCrowdfundsFacet" ]; interface FastDeployParams { readonly governor: string;