Skip to content

Commit eb785cb

Browse files
committed
feat: add FeeToken interface
1 parent 8f52294 commit eb785cb

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/FeeToken.sol

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
pragma solidity >=0.8.13 <0.9.0;
3+
4+
/// @title FeeToken
5+
/// @author NASD Inc.
6+
/// @notice An interface that must be implemented by any ERC20 that wants to be a supported fee token on Noble.
7+
interface FeeToken {
8+
/// @notice Allows the system address to transfer tokens from one address to another.
9+
function systemTransfer(address from, address to, uint256 amount) external returns (bool);
10+
}

0 commit comments

Comments
 (0)