    function transfer(
        address token,
        address to,
        uint256 amount
    )
        internal
    {
        address from = address(this);
        if (
            amount == 0
            || from == to
        ) {
            return;
        }
        GeneralERC20(token).transfer(to, amount);
        require(
            checkSuccess(),
            "TokenInteract#transfer: Transfer failed"
        );
    }