FTM token uses L2_L1NativeToken.sol contract. This contract loads ERC20Permit that allows us to do meta transaction. In ERC721.sol contract, uint256 private immutable _CACHED_CHAIN_ID; and address(this) are coded in the bytecode. The chain IDs for different chains are different, so we have to build a specific bytecode for different chains.
FTM token uses
L2_L1NativeToken.sol
contract. This contract loadsERC20Permit
that allows us to do meta transaction. InERC721.sol
contract,uint256 private immutable _CACHED_CHAIN_ID;
andaddress(this)
are coded in the bytecode. The chain IDs for different chains are different, so we have to build a specific bytecode for different chains.