🍒Ferc20

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IFERC20 is IERC20 {
    function bridgeContract() external view returns(address);
    function mint(address account, uint256 amount) external;
}

Ferc20 extends ERC20, and we added the folowing interfaces:

  • bridgeContract

  • mint: This method must be call from bridgeContract, only when deposit Ferc721 NFT to bridgeContract and mint new Ferc20 tokens.

Last updated